'smart' timeperiods.conf?

Subhendu Ghosh sghosh at sghosh.org
Tue May 6 15:15:02 CEST 2003


On Tue, 6 May 2003, Roy Sigurd Karlsbakk wrote:

> hi
> 
> I've got some services that needs checking only during working hours and not 
> holidays. I've found a perl library that gives me Norwegian holidays, so all 
> I need is to call this script to determine whether or not to run the test.
> 
> Is this possible? Or how can I avoid having a cron job using the pipe to turn 
> checking on/off?
> 
> roy
> 


You can write a script to send "DISABLE_SVC_CHECK" and "ENABLE_SVC_CHECK" 
commands at the appropriate time (via cron) 

See the documentation for External Commands

-- 

-sg



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




More information about the Developers mailing list