summaryrefslogtreecommitdiff
path: root/files/configs/CentOS/defaults/timeperiods.cfg
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2009-12-01 13:33:36 -0500
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2009-12-01 13:33:36 -0500
commit1e7b51004868a762f577831e686d1b851e2b08c2 (patch)
treea9234a247aa0697635d04e1befbbe5db318ea7cb /files/configs/CentOS/defaults/timeperiods.cfg
parentc04458174e23b7b21f687cefdf11ac9a8aabf679 (diff)
Add support for Debian; split up package defaults and create new nagios::default resource; add support for lighttpd and headless httpd configurations; move common commands definitions into nagios::commands
Diffstat (limited to 'files/configs/CentOS/defaults/timeperiods.cfg')
-rw-r--r--files/configs/CentOS/defaults/timeperiods.cfg55
1 files changed, 55 insertions, 0 deletions
diff --git a/files/configs/CentOS/defaults/timeperiods.cfg b/files/configs/CentOS/defaults/timeperiods.cfg
new file mode 100644
index 0000000..351d2f2
--- /dev/null
+++ b/files/configs/CentOS/defaults/timeperiods.cfg
@@ -0,0 +1,55 @@
+###############################################################################
+###############################################################################
+#
+# TIME PERIODS
+#
+###############################################################################
+###############################################################################
+
+# This defines a timeperiod where all times are valid for checks,
+# notifications, etc. The classic "24x7" support nightmare. :-)
+
+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
+ }
+
+
+# 'workhours' timeperiod definition
+define timeperiod{
+ timeperiod_name workhours
+ alias "Normal" Working 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
+ }
+
+
+# 'nonworkhours' timeperiod definition
+define timeperiod{
+ timeperiod_name nonworkhours
+ alias Non-Work Hours
+ sunday 00:00-24:00
+ monday 00:00-09:00,17:00-24:00
+ tuesday 00:00-09:00,17:00-24:00
+ wednesday 00:00-09:00,17:00-24:00
+ thursday 00:00-09:00,17:00-24:00
+ friday 00:00-09:00,17:00-24:00
+ saturday 00:00-24:00
+ }
+
+
+# 'none' timeperiod definition
+define timeperiod{
+ timeperiod_name none
+ alias No Time Is A Good Time
+ }