Page 1 of 1

run crontab on nagios

Posted: Fri May 10, 2013 12:09 pm
by srikanth.kallu
Hi,

Please advice me if this is possible.

While on a clustered environment, If i failover to server02 form server01

Can i make my crontab run on nagios in this situation ?

Re: run crontab on nagios

Posted: Fri May 10, 2013 1:19 pm
by sreinhardt
I would point out that you mention failing to the same server that failed. Regardless for most any event in nagios especially things that would cause a state change or notification, you can use event handlers to do additional tasks such as running a cron or script.

Re: run crontab on nagios

Posted: Fri May 10, 2013 2:04 pm
by srikanth.kallu
Event handler, is there any documnet about this explaining waht is this and how to use it.

For my basic understanding is this something to run a script with out putting that on crontab ?

Re: run crontab on nagios

Posted: Fri May 10, 2013 2:22 pm
by lmiltchev