Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

I am currently configuring dependencies between Nagios services. Setting up one service depending on another is straight forward, but is it possible to have one service failing when all master services are failing?

My example as hand is a load balanser for failover. The load balancer will work correctly as long as any of its backends are functioning correctly.

share|improve this question
Hang on, do you really mean "and" or "or"? If srv1 is up, but srv2 is down, should master be up or down? – Cylindric May 24 '12 at 15:25
up vote 1 down vote accepted

Read the documentation on Monitoring server and host clusters, which describes I think exactly addresses your question. Also see the man page for the check_cluster plugin. The check_cluster plugin can be configured to raise an alert based on the status of groups of other hosts or services.

share|improve this answer

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.