Page 1 of 1

Send notification on ok status

Posted: Tue Mar 15, 2011 6:52 am
by Duke&Duke
Hi all,
i have recently installed Nagios core and now i want configure it.
I want that Nagios send an email every day at 9:00 o'clock if the localhost, where nagios run, is in "ok" state (nagios is up or ping is ok).
Anyone help me?

Best regards,
Luca vernillo

Re: Send notification on ok status

Posted: Tue Mar 15, 2011 3:10 pm
by mguthrie
This might be easiest to setup as a cron script that just checks if the nagios.lock file is present, and then an email gets sent each day at the specified time. If Nagios isn't running it won't be able to do any kind of notification.