Hi all !
I have 3 nagios with the same hosts and services.
Nagios1 , Nagios2 , Nagios3 .
How can i set a master server for notification?
Example:
If one host / services down on Nagios1, Nagios1-2-3 send an email.
But i want that only Nagios1 send an email, Nagios2-3 only send if Nagios1 not online or down.
I want Nagios1 as master of Nagios2-3, and Nagios2 master of Nagios3.
Master- slave nagios?
Re: Master- slave nagios?
In the "classic" distributed setup for Nagios, one runs all the "subservient" servers with notifications turned off and with obsessive-compulsive scripts set to report the findings of each scheduled plugin run to the master.
To get "cascading" responsibility, one would have to leave notifications turned ON on each of the servers and have a check in the notification script to detect whether the "master" is operational; if the master is up and running, one suppresses notifications and if the master is NOT then one transmits the notification. Note that this implies that the subservient servers must be monitoring their respective masters and that the state of the master be made available to the local notification plugin.
To get "cascading" responsibility, one would have to leave notifications turned ON on each of the servers and have a check in the notification script to detect whether the "master" is operational; if the master is up and running, one suppresses notifications and if the master is NOT then one transmits the notification. Note that this implies that the subservient servers must be monitoring their respective masters and that the state of the master be made available to the local notification plugin.