Check Freshness does not work as expected
Posted: Thu May 10, 2018 4:23 am
Hi,
Check freshness does not work for me as described in the documentation for some reason.
I have a service template wherein i've set the following params
Then I go ahead and use this for one of my service as below
What I expect from the above setup is for Nagios to run the report-stale command if the service is not updated for more than 2 minutes, but, this never happens, infact the check_command is never invoked by Nagios even if I wait for hours together.
Can someone please point out where I am making a mistake in this setup.
Thanks,
Termcap
Check freshness does not work for me as described in the documentation for some reason.
I have a service template wherein i've set the following params
Code: Select all
define service {
name snmptrap-service
event_handler_enabled 0
check_freshness 1
freshness_threshold 120
check_command report-stale
active_checks_enabled 0
passive checks_enabled 1
is_volatile 1
obsess 0
check_period 24x7
max_check_attempts 1
retain_status_information 1
retain_nonstatus_information 1
register 0
}Code: Select all
define service {
use snmptrap-service
host_name my_server
service_description my_service
}
Can someone please point out where I am making a mistake in this setup.
Thanks,
Termcap