Howto not check a service each day from 03-06

Andy Shellam (Mailing Lists) andy.shellam-lists at mailnetwork.co.uk
Wed Jan 24 11:07:01 CET 2007


Martin Møller Pedersen wrote:
> Hi,
>   Every night some oracle databases are stopped. Is it possible to specifiy that
> the a specific service (eg. check_oracle) shouldn't be tested beetween
> eg. 03-06 each day.
>   

Certainly - define yourself a time period which doesn't include these 
times :)
http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#timeperiod

e.g.

define timeperiod{
	timeperiod_name		oracle-downtime
	alias			Oracle Downtime
	sunday			00:00-03:00,06:00-24:00
	<- repeat for monday - saturday ->
}

Then in your Oracle service check, use "oracle-downtime" as the value for "check_period"


Andy.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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