Nagios notification dependency


#1

Hi

let’s say i have
192.168.1.1
192.168.1.2
192.168.1.3

i want to receive email notifcation if any of these hosts are down BUT if 192.168.1.1 is down, i want only one notification that 192.168.1.1 is down and do not send notification for rest of hosts in that case. How i can do this ?


#2

This might be what you are looking for:

nagios.sourceforge.net/docs/3_0/ … .html#host

parents: This directive is used to define a comma-delimited list of short names of the “parent” hosts for this particular host. Parent hosts are typically routers, switches, firewalls, etc. that lie between the monitoring host and a remote hosts. A router, switch, etc. which is closest to the remote host is considered to be that host’s “parent”. Read the “Determining Status and Reachability of Network Hosts” document located here for more information. If this host is on the same network segment as the host doing the monitoring (without any intermediate routers, etc.) the host is considered to be on the local network and will not have a parent host. Leave this value blank if the host does not have a parent host (i.e. it is on the same segment as the Nagios host). The order in which you specify parent hosts has no effect on how things are monitored.