Nagios monitoring for master-slave servers?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
vlakshman
Posts: 27
Joined: Tue Aug 21, 2018 11:03 am

Nagios monitoring for master-slave servers?

Post by vlakshman »

Team,

I have a requirement where I need to monitor services running on two machines which act as master & slave.
Meaning, at a given point of time, both the servers (Master & Slave) are UP but services would be running on any one of these machines.
How can I define Nagios host and service definition for this kind off architecture?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Nagios monitoring for master-slave servers?

Post by cdienger »

Check out the check_cluster plugin.

There's also BPI which can be used to group services. You would set up both master and slave checks and group them into a BPI group. From there you can check the health of the group using check_bpi.php and send notifications based on the health.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked