Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.