summaryrefslogtreecommitdiff
path: root/net-mgmt/nagios4/files/patch-sample-config__template-object__templates.cfg.in
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-08-23 14:36:01 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-08-23 14:36:01 +0000
commitcd66fda28d95013e9d8b2927ddf395bfa95a699f (patch)
tree445cbb7694891141c82034d9af72f38b6708d194 /net-mgmt/nagios4/files/patch-sample-config__template-object__templates.cfg.in
parentmisc/nms: document ncurses, honor CFLAGS and LDFLAGS (diff)
Revert the update to 4.2.
It currently exits with a bus error, which is, not good. Reported by: many Sponsored by: Absolight
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..99ec2be29418
--- /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 2014-08-12 15:00:01 UTC
++++ sample-config/template-object/templates.cfg.in
+@@ -61,17 +61,17 @@ define host{
+ }
+
+
+-# 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