R: R: timeperiods.cfg

Werner Flamme werner.flamme at ufz.de
Mon Apr 4 16:13:09 CEST 2005


Marco,

I do not see the "arrival out of timeperiod".

a) You configure nagios to send mails between 00:00-04:00
b) You receive a mail at 03:12

So what's the problem?

Regards,
Werner

Marco Borsani schrieb am 04.04.2005 15:59:
> Well, thank you !
> You (and another friend in the list) confirm that my configuration is
> correct.
> I will investigate why that (only one) notification arrived out of the
> timeperiod.
> Regards
> Marco
> 
> -}-----Messaggio originale-----
> -}Da: nagios-users-admin at lists.sourceforge.net
> -}[mailto:nagios-users-admin at lists.sourceforge.net]Per conto di Greg
> -}Vickers
> -}Inviato: lunedì 4 aprile 2005 15.55
> -}A: NAGIOS
> -}Oggetto: Re: R: [Nagios-users] timeperiods.cfg
> -}
> -}
> -}Marco,
> -}
> -}Your timeperiod states that notifications/checks should be sent
> -}out/performed DURING 00:00 - 04:00.
> -}
> -}Your statement "I want to receive ntotifications between 00:00 and
> -}04:00..." matches your configuration!
> -}
> -}If you *don't* want to receive notifications on Saturday morning then
> -}take Saturday morning out of the timeperiod defintion. Bear in mind that
> -}this change will affect what ever other actions use this timeperiod...
> -}
> -}Greg
> -}
> -}Marco Borsani wrote:
> -}
> -}>I have read the docs, but the only examples seen are which ones in the
> -}>timeperiods.cfg-sample.
> -}>Those examples give right to me.
> -}>For example:
> -}># 'workhours' timeperiod definition
> -}>define timeperiod{
> -}>        timeperiod_name workhours
> -}>        alias           "Normal" Working Hours
> -}>        monday          09:00-17:00
> -}>        tuesday         09:00-17:00
> -}>        wednesday       09:00-17:00
> -}>        thursday        09:00-17:00
> -}>        friday          09:00-17:00
> -}>        }
> -}>It means that notifications/checks will be done all days between
> -}09:00 and
> -}>17:00
> -}>It seems that my configuration is right!
> -}>I want to receive ntotifications between 00:00 and 04:00,
> -}between 07:00 and
> -}>14:00, between 16:3- and 24:00.
> -}>
> -}>I just ask because all seems to be correct, but last saturaday
> -}night arrives
> -}>a notification at 03:12 a.m. Where did I wrong ?
> -}>
> -}>Marco
> -}>
> -}>-}> I would't like to check and receive notifications for a
> -}service between
> -}>-}> 04:00 and 07:00 in the morning and between 14:00 and 16:30 in the
> -}>afternoon.
> -}>-}> Is it correct use following timeperiod?
> -}>-}>
> -}>-}> define timeperiod{
> -}>-}>         timeperiod_name strano
> -}>-}>         alias           strange time
> -}>-}>         sunday          00:00-04:00,07:00-14:00,16:30-24:00
> -}>-}>         monday          00:00-04:00,07:00-14:00,16:30-24:00
> -}>-}>         tuesday         00:00-04:00,07:00-14:00,16:30-24:00
> -}>-}>         wednesday       00:00-04:00,07:00-14:00,16:30-24:00
> -}>-}>         thursday        00:00-04:00,07:00-14:00,16:30-24:00
> -}>-}>         friday          00:00-04:00,07:00-14:00,16:30-24:00
> -}>-}>         saturday        00:00-04:00,07:00-14:00,16:30-24:00
> -}>-}>         }
> -}>-}>
> -}>-}
> -}>-}No. This will do the exact opposite of what you want. You need to
> -}>-}re-read the docs.
> -}>
> -}>
> -}>
> -}>-------------------------------------------------------
> -}>SF email is sponsored by - The IT Product Guide
> -}>Read honest & candid reviews on hundreds of IT Products from real users.
> -}>Discover which products truly live up to the hype. Start reading now.
> -}>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> -}>_______________________________________________
> -}>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
> -}>
> -}>
> -}>
> -}
> -}--
> -}Greg Vickers
> -}Computer Systems Officer
> -}Teaching and Learning Support Services, Systems and Architecture
> -}Queensland University of Technology
> -}
> -}Phone: (07) 3864 8276
> -}Mobile: 0416 001 674, SD #6 6147
> -}Email: g.vickers at qut.edu.au
> -}
> -}CRICOS No. 00213J
> -}
> -}
> -}

-- 
Werner Flamme, Abt. WKDV
UFZ Umweltforschungszentrum Leipzig-Halle GmbH,
Permoserstr. 15, 04318 Leipzig - http://www.ufz.de
eMail: werner.flamme at ufz.de, Tel.: (0341) 235-2500






-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
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