Send notification on ok status

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Duke&Duke
Posts: 1
Joined: Tue Mar 15, 2011 6:37 am

Send notification on ok status

Post 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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Send notification on ok status

Post 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.
Locked