timeperiods priority

Mario Garcia Ortiz mariog at absi.be
Tue Jun 7 12:55:41 CEST 2011


it was a typo on my email

here is the actual timeperiod snip:

       monday                                 00:00-09:00,18:00-24:00
        friday                                    00:00-09:00,17:00-24:00
        january 1                               00:00-24:00
        may 1                                   00:00-24:00
       saturday                                 00:00-24:00
       sunday                                   00:00-24:00


what i would like to know... does this definition :

from monday to friday send notifications from 6pm to 9am.
saturday and sundays whole day
if there is a bank holiday during the week (monday-friday) notifications are
to be sent at all times.

thank you.
*--
Mario Garcia Ortiz*
ABSI SA
224 Bd de l'Humanité
1190 Brussels  Belgium
www.absi.be
Tel 00 322 333 40 00




On 7 June 2011 10:19, Andreas Ericsson <ae at op5.se> wrote:

> On 06/06/2011 12:52 PM, Mario Garcia Ortiz wrote:
> > Hello
> >
> > i have set up a customized timeperiod to send the alerts during
> > weekdays only outside work hours (6pm-9am) but If there's one week day
> > that is a public holiday then the alerts should be send 24/24.. I
> > wonder how to make it work 100
> >
> > i have so far made the following
> >
> >       monday to friday        18:01:00 - 24:00:00, 00:00:00 - 08:59:00
> >          saturday and sunday   00:00:00 - 24:00:00
> >          may 1        00:00:00 - 24:00:00
> >       january 1       00:00:00 - 24:00:00
> >
> > would this timeperiod definition do the following;
> >
> > send notification only from 6pm to 9am from monday to friday, except
> > if it's a public holiday in that case it should send at all times.
> >
>
> Nope. The "monday to friday" syntax isn't supported, and you
> can't use seconds in the timeperiod definition. Why you're
> skipping 2 minutes of the desired time (18:01 and 08:59 instead of
> 18:00 and 09:00), I have no idea.
>
> --
> Andreas Ericsson                   andreas.ericsson at op5.se
> OP5 AB                             www.op5.se
> Tel: +46 8-230225                  Fax: +46 8-230231
>
> Considering the successes of the wars on alcohol, poverty, drugs and
> terror, I think we should give some serious thought to declaring war
> on peace.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110607/89c058d6/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
-------------- next part --------------
_______________________________________________
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