Hello,

I have a working nagios2 installation under Ubuntu.  I would like to
configure nagios so that when a host cannot be ping'd by nagios all other
services related to this server/s are stopped so I don't get a slew of
notifications for that host.

I'm thinking i want servicedepency directive in my dependecies.cfg file?
Does this sound about right?


define servicedependency{
    hostgroup_name                       servers
    service_description             ping
    dependent_hostgroup_name        servers
    dependent_service_description   *
    execution_failure_criteria      w,c
    notification_failure_criteria   w,u,c
}


Thanks,
JJ
------------------------------------------------------------------------------
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to