NagiosXi Resilience

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
angurisudhakar

NagiosXi Resilience

Post by angurisudhakar »

Hi,

Please guide me how to implement NagiosXi Resilience.

Please share any document available for installation and configuration.


Thanks,
Sudhakar Anguri.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: NagiosXi Resilience

Post by hsmith »

Could we get a little clarification on what exactly you are trying to do?
Former Nagios Employee.
me.
angurisudhakar

Re: NagiosXi Resilience

Post by angurisudhakar »

Hi,

I want to implement two NagiosXi servers one is for master and one is for Salve If matser is down Salve should take all the dependencies.


Thanks,
Sudhakar Anguri.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: NagiosXi Resilience

Post by jolson »

It sounds like you're looking for a failover solution. A good place to start would be the following presentation by Andy Brist:
https://www.youtube.com/watch?v=KW5Qkl8brcA

After you've finished watching the video, you should have a good understanding of Nagios XI failover in general. My recommendations for active/passive failover are as follows.

Some key points to consider:
-Primary XI server must send a scheduled backup to the secondary server daily.
-Your second XI server will be restoring from the backup of the primary, which can be initiated manually or automatically (via event handlers or a script on a cron job).
-All of your agents must be accessible by both Nagios XI servers.
-All passive agents must be configured to send to both Nagios XI servers.

Deployment steps for this type of failover:
(1) Deploy and setup Primary XI Server.
(2) Configure Primary XI Server(Monitoring settings and so on).
(3) Deploy and setup Secondary XI Server.
(4) Configure the "Scheduled Backup Component" on Primary XI Server. Send the backups to the secondary server via SSH or FTP (SSH is recommended).
(5) Add a host check for Primary XI Server on Secondary XI Server.

Options for setting up the secondary server:
1. Do not run nagios on secondary and check the primary with a cron job. Start services only when the primary check fails.
2. Disable active and passive checks on the backup server and check the primary with a cron - when the primary server is down, enable all checks on the secondary server.
3. Disable notifications on secondary (allowing all checks to still run). When the primary is down, an event handler should be run turning on notifications.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
angurisudhakar

Re: NagiosXi Resilience

Post by angurisudhakar »

Thanks for your suggestion , i try and i will let know again...
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NagiosXi Resilience

Post by tmcdonald »

If you have any Nagios-specific questions please let us know. I do need to point out that we cannot provide direct support for the HA/Resiliency setup, but we can help with the Nagios side of things for the most part.
Former Nagios employee
Locked