TimePeriods

Andreas Ericsson ae at op5.se
Wed Nov 26 14:46:53 CET 2008


Michael Gargiullo wrote:
> I need a bit of assistance with time periods.  I want to notify/check
> 24x7 except for a short window when we run reports on the machine and it
> doesn't respond in a timely manor.  Every night we get a bunch of
> notifications / criticals that the plugins have timed out.
> 
>  
> 
> I though I had read that this format was proper, but it must not be...
> we still get critical notifications every night.
> 
>  
> 
> define timeperiod{
> 
>         timeperiod_name AllButReporting
> 
>         alias           24 Hours A Day, 7 Days A Week execpt during
> reporting
> 
>         sunday          00:00-02:15
> 
>         sunday          03:30-24:00
> 

You can't specify the same day more than once. This should have been specified as

sunday 00:00-02:15,03:30-24:00

in case you wanted to notify around the clock, except for the window between
02:15 and 03:30.


-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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