Page 1 of 1
NAGIOS failover to a backup nagios server
Posted: Thu Oct 13, 2016 3:03 pm
by vtadisina
In my monitoring setup I have 2 nagiosxi servers. One is the main server which is active and the other is backup server which is standy and doesn't perform any active monitoring. This server must come up and monitor the devices when main nagios server is down and is there a way to send the historical data from the main nagios to the standy nagios and also trigger the monitoring on standby.
Re: NAGIOS failover to a backup nagios server
Posted: Thu Oct 13, 2016 3:11 pm
by rkennedy
If you're looking for a HA solution, I would take a look at the Linbit offering which is on top of Nagios XI. They provide the support for the HA DRBD setup, while we support the Nagios portion.
See this link -
http://www.linbit.com/en/resources/tech ... centos-6-5
Re: NAGIOS failover to a backup nagios server
Posted: Fri Oct 14, 2016 12:47 pm
by vtadisina
This may not work for our environment. We are using 2 servers in 2 different places and the slave will be passive while the master is monitoring. It must become active when master goes offline and after master comes online the slave go to passive mode.
Re: NAGIOS failover to a backup nagios server
Posted: Fri Oct 14, 2016 1:17 pm
by avandemore
This is our
HA guide.
A pacemaker/corosync cluster with DRBD can certainly do what you've outlined, if it's a good idea or not is a different question and that depends on your unique setup.
There are also things like [url=
https://wiki.xen.org/wiki/Remus} Remus [/url], or the equivalent commercial offerings.
One other pointer, DRBD doesn't work well over high latency links, but that's the same as most network storage platforms eg NFS, CIFS, etc.