Within Nagios, is there some way to disable ALL Nagios notifications from
6:00 AM to 7:00 AM every 3rd Saturday of every month?
I could run a cron job that replaced the nagios.cfg file with one that has
enable_notifications=0 at 6:00 AM (and restart the service), then run another
cron
You can do it programmatically with cron through the external commands, a
little cleaner approach:
http://old.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=7
Dan
On Feb 18, 2013, at 11:27 AM, Jon Adcock wrote:
Within Nagios, is there some way to disable ALL Nagios
To share, I did what Dan recommended. Here is what I put my crontab:
00 06 15-21 * * test `date +\%a` = Sat
/opt/nagios/libexec/contrib/disable_notifications.sh
00 07 15-21 * * test `date +\%a` = Sat
/opt/nagios/libexec/contrib/enable_notifications.sh
The third Sat falls on the
Le 18 févr. 2013 18:32, Jon Adcock adco...@leoncountyfl.gov a écrit :
Within Nagios, is there some way to disable ALL Nagios notifications
from 6:00 AM to 7:00 AM every 3rd Saturday of every month?
I could run a cron job that replaced the nagios.cfg file with one that
has