regular scheduled maintenance

Bob Amen amen at oreilly.com
Fri Jan 2 19:34:09 CET 2004


chbaker at powersystems.rockwell.com wrote:
> I have tried to create a custom time period to exclude a given time range,
> but it doesn't seem to work. I'm using nagios 1.1 w/ mysql on Debian
> unstable. Does anyone have a custom time period working? Can you share the
> code snippet and how you use it in services.cfg?

	I do it with a short script, using cron, rather than configuring a 
custom time period. The shell script is attached.

Cheers,
Bob

>> Can I use cron to set "don't notify" and "now notify again" for that
>>particular server ?

-- 
				Bob Amen
			O'Reilly & Associates, Inc.
			    http://www.ora.com/
			  http://www.oreilly.com/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: schedule_host_downtime
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040102/37292c0a/attachment.ksh>


More information about the Users mailing list