Hello
I am fairly new to Nagios and still reading through the manuals. however, I have a system described below that I need to configure and would appreciate any pointers on how to do this.
There are two hosts, Host A and Host B. Both are online and connected to two other hosts providing radar, Radar A and Radar B.
Host A acts as the master and receives data from Radar A and Radar B. it is configured as the parent of Radar A and Radar B. Host B also has access to Radar A and Radar B and will receive data if Host A goes down.
is it possible to automatically change the parent of Radar A and Radar B to Host B if Host A becomes unavailable? Monitoring is done on both Hosts A/B and Radar A/B. I want to monitor Radar A and Radar B via Host B if Host A becomes unavailable.
What is the best way to do this.
regards Jeremy
master/slave hosts
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: master/slave hosts
You could use an event handler to effectively disable host A when it goes into a critical state, and then enable checking on B, and an event handler on host B to disable it and activate A when it goes into a critical state. This might also be a solution for you:
http://nagios.sourceforge.net/docs/3_0/clusters.html
http://nagios.sourceforge.net/docs/3_0/clusters.html