R: timeperiods.cfg

Greg Vickers g.vickers at qut.edu.au
Mon Apr 4 15:54:37 CEST 2005


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



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





More information about the Users mailing list