NRPE failure & Service notifications
Posted: Thu Jul 21, 2016 7:16 am
Hello all,
I have various hosts monitored by NRPE.
Then I defined a service checking NRPE availability named NRPE_listener
Is there a way, when any other service fails, first to check if NRPE_listener service is OK for this host?
If it is down, I would like to receive only one notification and suspend all other until NRPE_listener recovers.
Unfortunately the * is not applicable
Error: Service dependency definition for service 'NRPE_Listener' on host 'testpc' is circular (it depends on itself)!
Error: Service dependency definition for service 'NRPE_Listener' on host 'testpc' is circular (it depends on itself)!
Can this be done somehow?
I don't want to create numerous definitions and update it for each new host/service
I have various hosts monitored by NRPE.
Then I defined a service checking NRPE availability named NRPE_listener
Is there a way, when any other service fails, first to check if NRPE_listener service is OK for this host?
If it is down, I would like to receive only one notification and suspend all other until NRPE_listener recovers.
Unfortunately the * is not applicable
Code: Select all
define servicedependency{
dependent_host_name testpc
dependent_service_description *
host_name testpc
service_description NRPE_Listener
execution_failure_criteria n
notification_failure_criteria w,u,c
}
Error: Service dependency definition for service 'NRPE_Listener' on host 'testpc' is circular (it depends on itself)!
Can this be done somehow?
I don't want to create numerous definitions and update it for each new host/service