Page 1 of 1

Nagios Active/Passive Cluster monitor

Posted: Fri Nov 27, 2015 6:43 am
by Sundar
Dear Forum,

I have a requirement to monitor only the active cluster in an active/passive application cluster. Considering application VG exist on all these cluster nodes, if I install the application agent/plugins creating a directory under Application VG, would it help to monitor the active nodes in the cluster at any given point in time? Also, presence of a Load Balancer would change anything ? Please advise

Regards,
Sundar

Re: Nagios Active/Passive Cluster monitor

Posted: Sun Nov 29, 2015 10:52 pm
by Box293
Have a look at "check_cluster" as this might meet your needs:

https://assets.nagios.com/downloads/nag ... sters.html

Re: Nagios Active/Passive Cluster monitor

Posted: Mon Nov 30, 2015 7:48 am
by Sundar
Hello - Thanks for your response!

I see, "The check_cluster plugin is designed to report the overall status of a host or service cluster by checking the status information of each individual host or service cluster elements."

But, the actual requirement for the client is - In a DC, if a current active node in the cluster goes down, Nagios should automatically switch its monitoring to the new active node from a cluster in another DC at the different geographical location. There shouldn't be any false positive alerts unless both the mapped nodes in the active/passive cluster go down or the services in those nodes go down. Can this be achieved via Nagios. Please advise

Regards,
Sundar

Re: Nagios Active/Passive Cluster monitor

Posted: Mon Nov 30, 2015 11:42 am
by rkennedy
As @Box293 advised, this should work for your check. Are all nodes online all at once? You'll need to have it monitor all of your nodes that are part of the cluster. Set it up to only alert if all nodes are down.