aboutsummaryrefslogtreecommitdiffstats
path: root/nagios-templates.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'nagios-templates.cfg')
-rw-r--r--nagios-templates.cfg28
1 files changed, 28 insertions, 0 deletions
diff --git a/nagios-templates.cfg b/nagios-templates.cfg
index f5826d3..36ab796 100644
--- a/nagios-templates.cfg
+++ b/nagios-templates.cfg
@@ -10,6 +10,34 @@ define timeperiod {
saturday 00:00-24:00
}
+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
+}
+
+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
+}
+
+define timeperiod {
+ timeperiod_name never
+ alias Never
+}
+
+
define command {
command_name notify-by-nothing
command_line /bin/true