timelimited warning alerts

Dave Augustus davea at support.kcm.org
Thu Nov 10 23:38:20 CET 2005


Here is how we do it:

We have 2 destinations for alerts: email and pagers.

We create an email contact group. For each contact in this group, we set
the schedule to be 24x7 for all alerts. (These are email accounts not
used to notify via a pager or cell phone so that 24x7 notification
allows us to sleep but have a record of the events in the morning.)

We create a pager group. For each pager, create 2 contact entries. For
one of them, you set the schedule for 24x7 and ONLY Critical and
Recovery The second one you set the schedule for daylight and WARNING,
UNKNOWN, CRITICAL and RECOVERY.

Assign both of these groups to each host/service you are monitoring. On
that host/service, you select ALL alerts: WARNING, UNKNOWN, CRITICAL and
RECOVERY, etc, etc.

Now the email group gets ALL alerts ALL the time. The pager group gets
ALL alerts during the day, CRITICAL/RECOVERY 24x7.

Here is the KEY:
Contact settings override the SERVICE/HOST settings.

Enjoy!
Dave

On Mon, 2005-11-07 at 09:52 -0800, Ross Wentworth wrote:
> What's the best way to handle sending out warnings during specified 
> hours, but critical alerts all the time?
> 
> For example, one test is disk space.  If the warning level is set to 90% 
> and the critical is 95% disk full, I want the warning sent during 
> "daylight" hours (perhaps 8am-8pm), but the critical alert should be 
> sent 24x7.  Basically, I don't want to be woken at 3am for something 
> that can be ignored until morning.  On the other hand, I want to receive 
> a warning during the day so I can deal with it and not be woken when the 
> space becomes critical.
> 
-- 
Dave Augustus <davea at support.kcm.org>



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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