TimePeriods

Michael Gargiullo mgargiullo at pivotpointsecurity.com
Wed Nov 26 14:53:17 CET 2008



-----Original Message-----
From: Andreas Ericsson [mailto:ae at op5.se] 
Sent: Wednesday, November 26, 2008 8:47 AM
To: Michael Gargiullo
Cc: Nagios Mailinglist
Subject: Re: [Nagios-users] TimePeriods

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.


Ah a comma...   Thanks.  I must have confused 2 systems.

Thanks,

Mike

-------------------------------------------------------------------------
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