From 725b7510a728086a243612dc8801a1d8dd52b92c Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 7 Nov 2022 00:30:37 +0000 Subject: Better passive command freshness on passive checks --- nagios/objects/cluster.cfg | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 } -- cgit v1.2.3