I'm trying to achieve a goal of less noise when we're patching our log servers (which require a reboot).
My elements:
logserver-NY
logserver-PA
logservers NY and PA are both in a hostgroup.
Code: Select all
define servicedependency {
hostgroup_name nm-logservers
service_description nrpe
dependent_hostgroup_name All-Linux,All-Windows,!eqip-idm-servers,!nm-idm-servers
dependent_service_description Check logs being written to central log server
execution_failure_criteria c,u,w
notification_failure_criteria c,u,w ; this should be correct - basically NOT alert when service is
in "critical" state
}The ideal logic for me is:
if logserver NY nrpe or logserver PA nrpe is down, then don't alert the "check logs" service.