Page 1 of 1

"Kill switch" to suspend notifications for all hosts/service

Posted: Mon Jan 24, 2011 5:46 am
by teledataict
Hello
We're a WISP in Ghana, West Africa. We use Motorola Canopy & OFDM wireless radios for our backhaul/backbone and list mile. The network is a flat layer-2 network. Sometimes we experience packet flooding on the network and Nagios sends out hundreds of WARNING & CRITICAL notifications, as it should. Is there a way to temporarily stop ALL notifications for all hosts and services quickly without shutting the box down?

Gregory

Re: "Kill switch" to suspend notifications for all hosts/service

Posted: Mon Jan 24, 2011 9:08 am
by admin
From the main "Home menu"...

1. Select the "Process Info" link under the "Monitoring Process" menu section
2. Click the gray "X" in the "Monitoring Engine Process" dashlet next to the "Notifications" item

Notifications will now be disabled on a program-wide basis.

Hope that helps.

Re: "Kill switch" to suspend notifications for all hosts/service

Posted: Wed Jan 26, 2011 10:44 am
by teledataict
It works perfectly. Thanks!
Gregory

Re: "Kill switch" to suspend notifications for all hosts/service

Posted: Wed Jan 26, 2011 10:54 am
by rdedon
Please feel free to contact us again if you have any additional issues.

Thanks!

Re: "Kill switch" to suspend notifications for all hosts/ser

Posted: Wed Jul 06, 2011 3:21 pm
by jon.bilderback
Is there a way to do this from the command line, so that I can add it as a cron job on the server?

Re: "Kill switch" to suspend notifications for all hosts/ser

Posted: Thu Jul 07, 2011 10:47 am
by nscott
It sounds like you'd want to do something using a Nagios Core command. Check this page, its old but still relevant.

http://old.nagios.org/developerinfo/ext ... mmand_id=7

Re: "Kill switch" to suspend notifications for all hosts/ser

Posted: Fri Jan 27, 2012 11:43 am
by jon.bilderback
FYI, for anyone else wanting to use those scripts, the last line is incorrect for the nagios VM.

The location of printf is : /usr/bin/printf

Re: "Kill switch" to suspend notifications for all hosts/ser

Posted: Fri Jan 27, 2012 11:58 am
by scottwilkerson
Thanks for letting everyone know.