aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios4/files/patch-sample-config__template-object__templates.cfg.in
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/nagios4/files/patch-sample-config__template-object__templates.cfg.in')
-rw-r--r--net-mgmt/nagios4/files/patch-sample-config__template-object__templates.cfg.in26
1 files changed, 26 insertions, 0 deletions
diff --git a/net-mgmt/nagios4/files/patch-sample-config__template-object__templates.cfg.in b/net-mgmt/nagios4/files/patch-sample-config__template-object__templates.cfg.in
new file mode 100644
index 000000000000..93369c13c72e
--- /dev/null
+++ b/net-mgmt/nagios4/files/patch-sample-config__template-object__templates.cfg.in
@@ -0,0 +1,26 @@
+--- ./sample-config/template-object/templates.cfg.in.orig 2013-11-25 14:16:25.000000000 +0000
++++ ./sample-config/template-object/templates.cfg.in 2014-01-24 22:40:43.000000000 +0000
+@@ -61,17 +61,17 @@
+ }
+
+
+-# Linux host definition template - This is NOT a real host, just a template!
++# FreeBSD host definition template - This is NOT a real host, just a template!
+
+ define host{
+- name linux-server ; The name of this host template
++ name freebsd-server ; The name of this host template
+ use generic-host ; This template inherits other values from the generic-host template
+- check_period 24x7 ; By default, Linux hosts are checked round the clock
++ check_period 24x7 ; By default, FreeBSD hosts are checked round the clock
+ check_interval 5 ; Actively check the host every 5 minutes
+ retry_interval 1 ; Schedule host check retries at 1 minute intervals
+- max_check_attempts 10 ; Check each Linux host 10 times (max)
+- check_command check-host-alive ; Default command to check Linux hosts
+- notification_period workhours ; Linux admins hate to be woken up, so we only notify during the day
++ max_check_attempts 10 ; Check each FreeBSD host 10 times (max)
++ check_command check-host-alive ; Default command to check FreeBSD hosts
++ notification_period workhours ; FreeBSD admins hate to be woken up, so we only notify during the day
+ ; Note that the notification_period variable is being overridden from
+ ; the value that is inherited from the generic-host template!
+ notification_interval 120 ; Resend notifications every 2 hours