Notification down for children ! why?

My configuration :

define host{
use generic-interne
host_name dad
alias Myserver
parents bigdad
address 192.168.1.1
notification_options d,r

    }

define host{
use generic-host
host_name host01
alias Host 1
parents dad
address 192.168.1.5
notification_options d,r

    }

define host{
use generic-host
host_name Host02
alias Host 2
parents dad
address 192.168.1.6
notification_options d,r

    }

I have Host 1, Host 2 and dad down !!
dad is the parent of Host 1 et Host 2 . Why i receive notifications for Host 1 et Host 2 ?

Thanks in advance

Maybe Nagios check queue already had scheduled checks of the hosts. Maybe the scenario was like this:

  1. Check of DAD (OK)
  2. DAD went DOWN
  3. Already scheduled check of HOST1 issued and saw it was unreachable
  4. The same for HOST 2
  5. The next check for DAD saw it is DOWN

Try to schedule checks for HOST1 and HOST2 less frequently then for DAD, and see if it happens again. If it does happen again, then it must be that something is misconfigured.

Another question. After DAD goes DOWN, are notifications still issued for HOST1 and HOST2?

In fact, i have found the problem. Like you say, check of children was already down before the parent. That’s why nagios still send notification about children because children was down before the parents.
But when the parent goes down, i continue to receive host down notifications for children.

Another question. After DAD goes DOWN, are notifications still issued for HOST1 and HOST2?
Yes, it is the comportment of nagios.

Look here, under Local hosts:
nagios.sourceforge.net/docs/2_0/ … ility.html

And here under parents:
nagios.sourceforge.net/docs/2_0/ … .html#host

Maybe your network is in such state. As I can see your parent host is on the same network as child hosts, maybe that is the problem.

If your Nagios box is on separate network, you could try with defining host dependencies. Also try it if all hosts (includung Nagios) are on the same network. Maybe it will work somehow.