summaryrefslogtreecommitdiff
path: root/files/configs/Debian/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/Debian/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/Debian/defaults/timeperiods.cfg')
-rw-r--r--files/configs/Debian/defaults/timeperiods.cfg50
1 files changed, 50 insertions, 0 deletions
diff --git a/files/configs/Debian/defaults/timeperiods.cfg b/files/configs/Debian/defaults/timeperiods.cfg
new file mode 100644
index 0000000..55ecf9d
--- /dev/null
+++ b/files/configs/Debian/defaults/timeperiods.cfg
@@ -0,0 +1,50 @@
+###############################################################################
+# timeperiods.cfg
+###############################################################################
+
+# 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
+ }
+
+# Here is a slightly friendlier period during work hours
+define timeperiod{
+ timeperiod_name workhours
+ alias Standard 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
+ }
+
+# The complement of workhours
+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
+ }
+
+# This one is a favorite: never :)
+define timeperiod{
+ timeperiod_name never
+ alias Never
+ }
+
+# end of file