Eng; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Running check_nagios by ssh
Here is a script I wrote for checking that the master is running or not
and it will ENABLE/DISABLE the service checks and notifications
accordingly on the slave depending on it's check results o
Here is a script I wrote for checking that the master is running or not
and it will ENABLE/DISABLE the service checks and notifications
accordingly on the slave depending on it's check results of the master.
You will need to edit the variables accordingly and remove the rsync
stuff as I used it to
As a quick thought, you could write a simple Bash/PHP/whatever script to
grep the response for the "ok" flag (or warning flag) - or even a zero
process count.
I don't know how Nagios would take over, but if it was a simple case of
the slave doesn't run Nagios until the primary goes down, then y
Hello,
I am trying to run the check_nagios command from one machine to another.
(slave to master)
I can run the following from the command prompt on the "slave" machine:
Note: the master I am checking is 10.130.4.80
/usr/lib/nagios/plugins/check_by_ssh -H 10.130.4.80 -l smadmin-sec -i
home/smadm