*Be less strict with pylint checks to make the jenkins test happy
[shinken.git] / etc / timeperiods.cfg
blob7322827d8205fa199e897a7b898f2b969d9e1833
2 #### Timeperiods part
4 define timeperiod{
5         timeperiod_name                 24x7
6         alias                           24_Hours_A_Day,_7_Days_A_Week
7         sunday                          00:00-24:00
8         monday                          00:00-24:00
9         tuesday                         00:00-24:00
10         wednesday                               00:00-24:00
11         thursday                                00:00-24:00
12         friday                          00:00-24:00
13         saturday                                00:00-24:00
14 #       exclude                         workhours
18 # 'workhours' timeperiod definition
19 define timeperiod{
20         timeperiod_name workhours
21         alias           Normal Work Hours
22         monday          09:00-17:00
23         tuesday         09:00-17:00
24         wednesday       09:00-17:00
25         thursday        09:00-17:00
26         friday          09:00-17:00
27         #exclude                24x7
28         }
31 # 'none' timeperiod definition
32 define timeperiod{
33         timeperiod_name none
34         alias           No Time Is A Good Time
35         }
38 # Some U.S. holidays
39 # Note: The timeranges for each holiday are meant to *exclude* the holidays from being
40 # treated as a valid time for notifications, etc.  You probably don't want your pager 
41 # going off on New Year's.  Although you're employer might... :-)
42 define timeperiod{
43         name                    us-holidays
44         timeperiod_name         us-holidays
45         alias                   U.S. Holidays
47         january 1               00:00-00:00     ; New Years
48         monday -1 may           00:00-00:00     ; Memorial Day (last Monday in May)
49         july 4                  00:00-00:00     ; Independence Day
50         monday 1 september      00:00-00:00     ; Labor Day (first Monday in September)
51         thursday -1 november    00:00-00:00     ; Thanksgiving (last Thursday in November)
52         december 25             00:00-00:00     ; Christmas
53         }
56 # This defines a modified "24x7" timeperiod that covers every day of the
57 # year, except for U.S. holidays (defined in the timeperiod above).
58 define timeperiod{
59         timeperiod_name 24x7_sans_holidays
60         alias           24x7 Sans Holidays
62         use             us-holidays             ; Get holiday exceptions from other timeperiod
64         sunday          00:00-24:00
65         monday          00:00-24:00
66         tuesday         00:00-24:00
67         wednesday       00:00-24:00
68         thursday        00:00-24:00
69         friday          00:00-24:00
70         saturday        00:00-24:00
71         }