Nagios XI Heartbeat setup on XI Engine

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Johnsmit
Posts: 95
Joined: Thu Apr 19, 2018 2:03 pm

Nagios XI Heartbeat setup on XI Engine

Post by Johnsmit »

Hi,

I am looking for a way to Monitor the Nagios XI Host like setting up a heart beat and send results for every 5 mins or so. In our scenario we have a primary and secondary (stand hot by), we are using load balancers to route traffic, is there any way to check whole primary Nagios Application ( all services) to say its up or down and alert to us from primary server. we can verify the check and route traffic accordingly, or else if there is a way to trigger Load Balancer saying primary is down and route traffic to secondary.

Thanks,
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios XI Heartbeat setup on XI Engine

Post by ssax »

The closest check that you could use would be to go to Configure > Configuration Wizards > Nagios XI and use the Monitoring Daemons check to check the daemons of the local XI server by using localhost.

The problem with this is that if the monitoring system is down you are not likely going to be alerted/notified because the services/daemons that would normally send that notification may be down. You would likely need to setup a cron job to run the check and notify through the mail command if you want to get around that but if the primary is locked up that would not notify either. The recommendation would be for you to spin up another XI/Core server and have that monitor your XI servers so there is an external method of monitoring them. You should be able to use the FREE XI license to monitor them if you want to use XI.

You could also setup and event handler that could reach out to your load balancer and trigger an action (if your load balancer supports it) but there is not likely and existing script that will do this so you'd need to write it.

If you want to read more about event handlers, see here:

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

And here:

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

Let us know if you have any questions.


Thank you
Locked