Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Nagios, assume the following scenario: you have 3 hosts, A B and C each with services 1-3, and having host B as a parent host to host C with A being at the same level as B.

Is it possible to; a) When scheduling downtime for host A, also have downtime scheduled for all services on that host? b) When downtime occurs, unexpected or otherwise on host B, have all service on host C be considered down also without alerts or notifications, like the host itself is?


share|improve this question
up vote 1 down vote accepted

The short answer to both questions is "no". There are several scripts floating around to do (a), but Nagios does not put downtime on a hosts services when it is on the host. However, Nagios will not notify for services while the host is down, it's when the host comes back up and services are still down that you will get notifications. As for (b), you can do this by putting dependencies between the services, but you can't have services depend on a host to my knowledge.

share|improve this answer

In Nagios 3, (a) is the default behaviour. I think that (b) is also how things work in Nagios 3, although I haven't personally tested that.

share|improve this answer
Hmm, I will need to go back and double check everything, I seem to be getting different behaviour with Nagios 3. I went back and looked for scenario a, and it is supposed to be the default behaviour for Nagios 3. For b, it looks like the service_dependency option allows for hostnames - at least it doesn't error when nagios loads. I still need to do some furhter checking. – GardenMWM Aug 3 '09 at 17:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.