How to configure delay for childs when Parent host comes up?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kiklop
Posts: 7
Joined: Fri May 20, 2011 6:20 am

How to configure delay for childs when Parent host comes up?

Post by kiklop »

Hi,
Imagine this situation: When power blackout occurs, and router & server go down.. Nagios shows: Router Down, Server- Unreachable. Then, when power is restored, router comes up. Nagios will say: Yes Router is up, so I can check all childs now. But server is just booting, so its offline for next let say 5min.
Nagios will change status from unreachable to Down hard state and send notif. immediatly.

My question is, how to avoid this situation? I don't want receive emails from child hosts for let say next 10 min. when the top host comes up. Or better, I don`t want to check childs host for next 10min. Is it possible? Maybe I can use events, but don't know how..

Many thanks for any suggestions
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: How to configure delay for childs when Parent host comes

Post by mguthrie »

If you already have the dependency set up so that the child is not checked while the parent is down, what you could do is modify the following settings to get something close to what you're describing. These are in the "Check Settings" and "Alert Settings" tabs in the Core Config Manager.

retry_interval - this is the amount of time in between retry attempts after detecting a problem state
max_check_attempts - this is the amount of times that nagios will check the host/service before sending a problem notification
first_notification_delay - the amount of time that nagios will wait before sending out a notification of a problem
Locked