Defining a timeperiod

Volker.Aust at premiere.de Volker.Aust at premiere.de
Wed Oct 9 12:21:16 CEST 2002


Freddy, you have forgotten the option 'check_period' for services.

Michael, you can define your timeperiod like this:

define timeperiod{
       timeperiod_name rzv_nt_server
       alias           small_open_time
       monday          00:00-01:18,01:22-24:00
       tuesday         00:00-01:18,01:22-24:00
       wednesday       00:00-01:18,01:22-24:00
       thursday        00:00-01:18,01:22-24:00
       friday          00:00-01:18,01:22-24:00
       saturday        00:00-01:18,01:22-24:00
       sunday          00:00-01:18,01:22-24:00
       }

-vol

> -----Original Message-----
> From: Freddy Frouin [mailto:freddy.frouin at fluxus.net]
> Sent: Wednesday, October 09, 2002 12:00 PM
> To: Michael Jakscht
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Defining a timeperiod
> 
> 
> I think that if you check the documentation you will see that 
> check are
> not desactivated over timeperiods definition, this is the notification
> which is desactivated... because timeperiods are used when 
> you are defining
> 
> host_notification_period
> service_notification_period
> 
> so it is normal that nagios check services over time periods...
> 
> Freddy.
> 
> 
> On Wed, 9 Oct 2002 11:39:34 +0200
> "Michael Jakscht" <mijakscht at vit.de> wrote:
> 
> > 
> > 
> > Hey,
> > 
> > I want to define a timeperiod with an open time window from 
> 01:18 to 01:22.
> > So the rest of the time the services in this timeperiod 
> should be checked
> > normally,
> > but not from 01:18 to 01:22. How can I achieve this?
> > I tried the following - it didn't work out like I wanted... :-(
> > 
> > *** timeperiods.cfg ***
> > ---
> > define timeperiod{
> >        timeperiod_name rzv_nt_server
> >        alias           small_open_time
> >        monday          01:22-01:18
> >        tuesday         01:22-01:18
> >        wednesday       01:22-01:18
> >        thursday        01:22-01:18
> >        friday          01:22-01:18
> >        saturday        01:22-01:18
> >        sunday          01:22-01:18
> >        }
> > 
> > So this way I thought Nagios should check fro 01:22 to 
> 01:18, but this is
> > what does not
> > happen. Nagios checks from 01:18 to 01:22 - the four minutes which
> > shouldn't be checked...
> > 
> > Hope anyone can help me here ;-))
> > 
> > Michael
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > 
> 
> 
> -- 
> Freddy Frouin
> Responsable Supervision
> Fluxus - British Telecom
> 30, rue du Château des Rentiers
> 75013 Paris
> 
> Tél: +33 (0)1 44 97 70 00
> Fax: +33 (0)1 44 97 70 07
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list