Monitoring HA Services

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Monitoring HA Services

Post by rajasegar »

Nagios XI 2012R2.9
RHEL 6.5 x64
Manual Install
Offloaded DB

Can you please advice how best to monitor HA services?

The support team does not want see critical alerts if either Pri or Sec MQ services is active.
Basically they want notification that Pri is down and Sec is up but in XI all the Pri services should be green since Sec has taken over.

Thanks in advance.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
cellact
Posts: 69
Joined: Mon May 14, 2012 7:00 am

Re: Monitoring HA Services

Post by cellact »

If I understand correctly, you should be monitoring only the active server at all times, therefor, you should monitor the VIP and not the specific server IP's.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Monitoring HA Services

Post by rajasegar »

cellact wrote:If I understand correctly, you should be monitoring only the active server at all times, therefor, you should monitor the VIP and not the specific server IP's.
Your solution is ideal if the HA is automated.
In my case the HA is manual and they always switch around when there is issues. Dont know the details on why this is the case.
Most of the services is active except some is turned off in the passive.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
cellact
Posts: 69
Joined: Mon May 14, 2012 7:00 am

Re: Monitoring HA Services

Post by cellact »

Lets imagine a scenario:

Server1 is active
Server2 is passive

You monitor the Server_VIP

Server1 has some services with CRITICAL that show up on Nagios
Support team switches to Server2, services are now OK and clear up.

That's how we do it.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Monitoring HA Services

Post by lmiltchev »

rajasegar, let us know if the cellact's suggestion resolved your issue.
Be sure to check out our Knowledgebase for helpful articles and solutions!
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Monitoring HA Services

Post by rajasegar »

cellact wrote:Lets imagine a scenario:

Server1 is active
Server2 is passive

You monitor the Server_VIP

Server1 has some services with CRITICAL that show up on Nagios
Support team switches to Server2, services are now OK and clear up.

That's how we do it.
Thanks. Will see if this can be applied in my scenario.
Please close this case.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
Locked