Disable ALL Nagios Notifications For One Hour, On One Day, Every Month

Daniel Wittenberg daniel.wittenberg.r0ko at statefarm.com
Mon Feb 18 18:32:21 CET 2013


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 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 job that replaced the nagios.cfg file with the original file at 7:00 AM (and restart the service), but I'm looking for a solution within Nagios.



Jon Adcock
Network Systems Administrator
Leon County MIS
301 S. Monroe St.
Tallahassee, FL  32301
Office:  (850) 606-5518
http://www.leoncountyfl.gov<http://www.leoncountyfl.gov/>
"People Focused.  Performance Driven."


Thank you for your e-mail.  Please note that under Florida's Public Records
laws, most written communications to or from county staff or officials
regarding county business are public records available to the public and
media upon request.  Your e-mail communications may therefore be
subject to public disclosure.

------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
is your hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials, tech docs,
whitepapers, evaluation guides, and opinion stories. Check out the most
recent posts - join the conversation now. http://goparallel.sourceforge.net/_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net<mailto:Nagios-users at lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20130218/db7107f7/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list