diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-11-07 00:30:37 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-11-07 00:30:37 +0000 |
commit | 725b7510a728086a243612dc8801a1d8dd52b92c (patch) | |
tree | c59f832139ff148c35b939b3dc487556cb22c9aa | |
parent | Tighten check_ntp status range (diff) | |
download | config-725b7510a728086a243612dc8801a1d8dd52b92c.tar.bz2 config-725b7510a728086a243612dc8801a1d8dd52b92c.tar.xz config-725b7510a728086a243612dc8801a1d8dd52b92c.zip |
Better passive command freshness on passive checks
-rw-r--r-- | nagios/objects/cluster.cfg | 8 |
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 } |