Re: [Nagios-devel] 'smart' timeperiods.conf?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] 'smart' timeperiods.conf?

Post by Guest »

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 post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked