Recurring Downtime

Carroll, Jim P [Contractor] jcarro10 at sprintspectrum.com
Tue Feb 4 19:46:57 CET 2003


Simple approach:

You define a new timeperiod, and use that in your host definition, e.g.,

# '24x7 except for backups' timeperiod definition
define timeperiod{
        timeperiod_name backup-window
        alias           24x7 except for backups
        sunday          00:00-04:00,05:00-24:00
        monday          00:00-24:00
        tuesday         00:00-24:00
        wednesday       00:00-24:00
        thursday        00:00-24:00
        friday          00:00-24:00
        saturday        00:00-24:00
        }

This would avoid notifications from 4am to 5am, Sunday mornings.

HTH.

jc

> -----Original Message-----
> From: Rob Lindenbusch [mailto:lfcrob at nicusa.com]
> Sent: Tuesday, February 04, 2003 12:02 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Recurring Downtime
> 
> 
> Does anyone have a good method for scheduling recurring 
> downtime in Nagios?
> I have some services that are down for maintenance during a 
> scheduled window
> every week. Is there a way to handle this other than 
> scripting an insertion
> into the downtime file that would be run every week?
> 
> Thanks in advance
> 
> Rob Lindenbusch
> Systems and Network Administrator
> NIC
> E-mail: lfcrob at nicusa.com
> Phone: (317)290-1020 ext. 42
> Mobile: (317)506-5379
>  
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> 


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com




More information about the Users mailing list