aboutsummaryrefslogtreecommitdiffstats
path: root/roles/nagios_server/templates/etc/nagios/objects/timeperiods.cfg.j2
blob: 2a0c885afb3ceac6f201ddf84cd2a1251ec7f373 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
define timeperiod {
  timeperiod_name  reboot-window
  alias            reboot window

  sunday           {{ nagios_reboot_window }}
  monday           {{ nagios_reboot_window }}
  tuesday          {{ nagios_reboot_window }}
  wednesday        {{ nagios_reboot_window }}
  thursday         {{ nagios_reboot_window }}
  friday           {{ nagios_reboot_window }}
  saturday         {{ nagios_reboot_window }}
}

define timeperiod {
  timeperiod_name  24x7
  alias            24x7

  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  24x7-except-reboot-window
  alias            24x7 (except reboot window)
  exclude          reboot-window

  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
}