Attention: All pages of this wiki depend on the pages that come before it, in order as they are listed on the Main Page. Please check for Dependencies.
Please also look at What You Need to Know Before Using This Wiki

/usr/local/nagios/etc/timeperiods.cfg: Difference between revisions

From COCNM
Jump to navigation Jump to search
m (1 revision)
 
(No difference)

Latest revision as of 01:19, 19 September 2013

define timeperiod{
        timeperiod_name 24x7
        alias           24 Hours A Day, 7 Days A Week
        sunday          00: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
        }
define timeperiod{
	timeperiod_name	workhours
	alias		Normal Work Hours
	monday		09:00-17:00
	tuesday		09:00-17:00
	wednesday	09:00-17:00
	thursday	09:00-17:00
	friday		09:00-17:00
	}
define timeperiod{
	timeperiod_name	none
	alias		No Time Is A Good Time
	}
define timeperiod{
	name			Yukon-holidays
        timeperiod_name         Yukon-holidays
        alias                   Yukon Holidays
        january 1               00:00-00:00     ; New Years
        july 1                  00:00-00:00     ; Canada Day
        monday 3 august         00:00-00:00     ; Discovery Day
        monday 1 september      00:00-00:00     ; Labor Day (first Monday in September)
        monday 2 november       00:00-00:00     ; Thanksgiving (2nd Monday in November)
        november 11             00:00-00:00     ; Rememberance Day
        december 25             00:00-00:00     ; Christmas
        }
define timeperiod{
        timeperiod_name 24x7_sans_holidays
        alias           24x7 Sans Holidays
	use		us-holidays		; Get holiday exceptions from other timeperiod
        sunday          00: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
        }