#############################################################################################
# ICINGA TEST CONFIG BY ISSUES
# (c) 2009-2015 Icinga Development Team and Community Contributors
#
# #1773
# free style timeperiods are not prepared to store in table timeranges
#############################################################################################

# Note: The timeranges for each holiday are meant to *exclude* the holidays from being
# treated as a valid time for notifications, etc.  You probably don't want your pager
# going off on New Year's.  Although you're employer might... :-)
define timeperiod{
	name            		1773us-holidays
        timeperiod_name         	1773us-holidays
        alias                   	U.S. Holidays

        january 1               	00:00-00:00     ; New Years
        monday -1 may           	00:00-00:00     ; Memorial Day (last Monday in May)
        july 4                  	00:00-00:00     ; Independence Day
        monday 1 september      	00:00-00:00     ; Labor Day (first Monday in September)
        thursday 4 november     	00:00-00:00     ; Thanksgiving (4th Thursday in November)
        december 25             	00:00-00:00     ; Christmas
}

# This defines a modified "testconfig-24x7" timeperiod that covers every day of the
# year, except for U.S. holidays (defined in the timeperiod above).
define timeperiod{
        timeperiod_name 		1773testconfig-24x7_sans_holidays
        alias           		1773testconfig-24x7 Sans Holidays
	use        			1773us-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
}

# 'none' timeperiod definition
define timeperiod{
	timeperiod_name    		1733none
	alias        			No Time Is A Good Time
}
