Not sure how to make active-backup connection with nagios, but you can install two active servers and monitor similar hosts with them, you can sync config files between your servers, so you will get some kind of redundancy.
A simple solution to avoid duplicate alerts would be:
- run two Nagios systems as master and slave
- set up the slave with notifications 'disabled'
- set up an event handler on the slave to monitor the master, and should the master go down, run a script to 'enable' notifications & use the same script to 'disable' notifications again, when the master comes back online again
There's some other methods like using remote collectors, which might be worth looking at for large networks. And there's commercial tools that do all this too.
Secure Hosting | Premium Cloud & Dedicated hosting solutions since 2001
email: sales(at)securehost(dot)com • +1-242-502-8700 • 24/7 support by phone/helpdesk
Located in The Bahamas & Bermuda: Redundant Cooling, Power & Network, PCI DSS compliant, 7ms from USA
Thanks for the info.
Exactly what I wanted to do.
So I think i must run a NRPE script, on the slave because they are not in the same subnet. The check_nagios script does not work.
And I would like to install Centreon to easily add new hosts.
I think it is enough to only have one cenreon on Master, and maybe define two poolers or systems on it for the local master and remote slave.