--On Thursday, December 14, 2006 00:20:40 +1030 Ben Ragg 
<[EMAIL PROTECTED]> wrote:

> Hi there,
>
> We often make changes to our network at 3am, and while every effort is
> made to disable the appropriate services, quite often something will slip
> through the cracks and wake someone up.
>
> Is there an option to disable all alerts from being sent for 20 minutes,
> and only display via the webpage (Failed, NoAlerts)
>

There are a few options right now for this.

If its a regular occurance you could configure an exclude period on the 
services, or configure the alert periods themselves to exclude that time 
frame.

If its an irregular occurance you can stop the mon scheduler via the web 
interface (or from cron), and restart when done.    (The UI will see no 
updates, because nothing will be tested...)

Finally the most "evil hack" style method, which I've used on occasion, is:
cd <mon-alert-dir>
chmod -x *
... <maintenance here>
chmod +x *


You could also do something like write a script that uses Mon::Client and 
disables all hostgroups.  (This would show the status updates in the UI 
without sending alerts, at least with the current (CVS, 1.2.0rc1) Mon it 
would, I can't remember whether 0.99.2 did that.)


-David



_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to