summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-11-07 00:30:37 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-11-07 00:30:37 +0000
commit725b7510a728086a243612dc8801a1d8dd52b92c (patch)
treec59f832139ff148c35b939b3dc487556cb22c9aa
parentTighten check_ntp status range (diff)
downloadconfig-725b7510a728086a243612dc8801a1d8dd52b92c.tar.bz2
config-725b7510a728086a243612dc8801a1d8dd52b92c.tar.xz
config-725b7510a728086a243612dc8801a1d8dd52b92c.zip
Better passive command freshness on passive checks
-rw-r--r--nagios/objects/cluster.cfg8
1 files changed, 7 insertions, 1 deletions
diff --git a/nagios/objects/cluster.cfg b/nagios/objects/cluster.cfg
index b1d70df..dd5c081 100644
--- a/nagios/objects/cluster.cfg
+++ b/nagios/objects/cluster.cfg
@@ -467,7 +467,7 @@ define service {
#
define command {
command_name passive-only
- command_line echo "Unknown: passive-only" && exit 3
+ command_line /usr/lib64/nagios/plugins/check_dummy 3 "Unknown: passive-only"
}
define service {
use generic-service
@@ -481,17 +481,23 @@ define service {
use passive-service
host_name firebrand
service_description GB API Package Updates
+ check_freshness 1
+ freshness_threshold 3600
action_url /nagiosgraph/cgi-bin/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$&geom=800x180
}
define service {
use passive-service
host_name firebrand
service_description GB API Bug Updates
+ check_freshness 1
+ freshness_threshold 3600
action_url /nagiosgraph/cgi-bin/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$&geom=800x180
}
define service {
use passive-service
host_name virtualip
service_description Backup Volume
+ check_freshness 1
+ freshness_threshold 86400
action_url /nagiosgraph/cgi-bin/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$&db=/var/backup%2Cdata&geom=800x180
}