diff options
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.in | 46 |
1 files changed, 24 insertions, 22 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 index 99ec2be29418..755e2cca8b2e 100644 --- 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 @@ -1,26 +1,28 @@ ---- sample-config/template-object/templates.cfg.in.orig 2014-08-12 15:00:01 UTC +--- sample-config/template-object/templates.cfg.in.orig 2018-06-25 21:25:22 UTC +++ sample-config/template-object/templates.cfg.in -@@ -61,17 +61,17 @@ define host{ - } +@@ -61,19 +61,19 @@ 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 +-# Linux host definition 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 |