Setting up timeperiodes to only check once every halfhour.

Dan Sargent dan.sargent at webgravity.co.uk
Mon Oct 13 12:58:23 CEST 2003


Guys, And Gals,

I have a need to configure the timeperidoes, so that one of my test doesnt
run for half an hour, every hour, but will check every 5 minutes during the
half that it should run, i wanted to use the timeperiodes.cfg to do this, as
per below. Is this doable? If not, does anyone have any ideas?

Cheers
Dan

-- cut --
# 'cputimes' timeperiod definition
define timeperiod{
 timeperiod_name cpubadtimes
 alias  CPU Bad Times
 sunday  00:00-24:00
 monday
00:00-06:40,07:10-07:40,08:40-09:10,09:40-10:10,10:40-11:10,11:40-12:10,12:4
0-13:10,13:40-14:10,15:40-16:10,16:40-17:10,17:40-18:10,18:40-24:00
 tuesday
00:00-06:40,07:10-07:40,08:40-09:10,09:40-10:10,10:40-11:10,11:40-12:10,12:4
0-13:10,13:40-14:10,15:40-16:10,16:40-17:10,17:40-18:10,18:40-24:00
 wednesday
00:00-06:40,07:10-07:40,08:40-09:10,09:40-10:10,10:40-11:10,11:40-12:10,12:4
0-13:10,13:40-14:10,15:40-16:10,16:40-17:10,17:40-18:10,18:40-24:00
 thursday
00:00-06:40,07:10-07:40,08:40-09:10,09:40-10:10,10:40-11:10,11:40-12:10,12:4
0-13:10,13:40-14:10,15:40-16:10,16:40-17:10,17:40-18:10,18:40-24:00
 friday
00:00-06:40,07:10-07:40,08:40-09:10,09:40-10:10,10:40-11:10,11:40-12:10,12:4
0-13:10,13:40-14:10,15:40-16:10,16:40-17:10,17:40-18:10,18:40-24:00
 saturday 00:00-24:00
 }
-- end --




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
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