Parent Child query
Posted: Wed Oct 26, 2011 6:09 am
Hi, I am relatively new to Nagios and wondered if someone could just confirm something on parent/child relationship configs? I am trying to set up a correct hierachy as we are now monitoring a number of sites successfully, but if we lose our broadband we get hundreds of alerts for each individual monitor! So I am trying to put in a parent child relationship which (using our site and one other as the example) goes like this:
master site router. If our broadband here goes down, only create one alert. For this I have put a hostdependency definition in our own router config file for the other sites routers.
remote site router. If this goes down, just send one alert, do not send alerts for servers below this. For this I have put a hostdependency definition in that router config file for the remote servers at that site.
remote site server. IF this goes down, just send one alert, do not send alerts for the services on this server. For this I have put a servicedependancy definition in the Server config.
Nagios has reloaded OK, but I just wanted to check if the above is sufficient or if I have to follow the dependencies up multiple levels? i.e. Do I need to replicate the service dependancy up to the remote sites Router AND on to our router config? Or does the one entry suffice.
I hope I've explained that OK, any pointers will be warmly welcomed.
Thanks
master site router. If our broadband here goes down, only create one alert. For this I have put a hostdependency definition in our own router config file for the other sites routers.
remote site router. If this goes down, just send one alert, do not send alerts for servers below this. For this I have put a hostdependency definition in that router config file for the remote servers at that site.
remote site server. IF this goes down, just send one alert, do not send alerts for the services on this server. For this I have put a servicedependancy definition in the Server config.
Nagios has reloaded OK, but I just wanted to check if the above is sufficient or if I have to follow the dependencies up multiple levels? i.e. Do I need to replicate the service dependancy up to the remote sites Router AND on to our router config? Or does the one entry suffice.
I hope I've explained that OK, any pointers will be warmly welcomed.
Thanks