summaryrefslogtreecommitdiff
path: root/net-mgmt/nagios/files/patch-sample-config-template-object-localhost.cfg.in
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/nagios/files/patch-sample-config-template-object-localhost.cfg.in')
-rw-r--r--net-mgmt/nagios/files/patch-sample-config-template-object-localhost.cfg.in56
1 files changed, 30 insertions, 26 deletions
diff --git a/net-mgmt/nagios/files/patch-sample-config-template-object-localhost.cfg.in b/net-mgmt/nagios/files/patch-sample-config-template-object-localhost.cfg.in
index ff3f25aac049..3a9a5b6cab7c 100644
--- a/net-mgmt/nagios/files/patch-sample-config-template-object-localhost.cfg.in
+++ b/net-mgmt/nagios/files/patch-sample-config-template-object-localhost.cfg.in
@@ -1,36 +1,40 @@
---- sample-config/template-object/localhost.cfg.in.orig Tue Nov 28 12:59:05 2006
-+++ sample-config/template-object/localhost.cfg.in Sat Jan 27 19:01:52 2007
-@@ -151,15 +151,15 @@
- }
-
+--- sample-config/template-object/localhost.cfg.in.orig Sun Jun 10 02:13:05 2007
++++ sample-config/template-object/localhost.cfg.in Fri Jul 20 13:46:46 2007
+@@ -5,7 +5,7 @@
+ #
+ # NOTE: This config file is intended to serve as an *extremely* simple
+ # example of how you can create configuration entries to monitor
+-# the local (Linux) machine.
++# the local (FreeBSD) machine.
+ #
+ ###############################################################################
--# 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
-- 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
-+ check_period 24x7 ; By default, FreeBSD hosts are checked round the clock
-+ 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 notification every 2 hours
-@@ -173,9 +173,9 @@
- # local host (this machine).
+@@ -23,9 +23,9 @@
+ # Define a host for the local machine
define host{
- use linux-server ; Name of host template to use
-+ use freebsd-server ; Name of host template to use
++ use freebsd-server ; Name of host template to use
; This host definition will inherit all variables that are defined
- ; in (or inherited by) the linux-server host template definition.
+ ; in (or inherited by) the freebsd-server host template definition.
host_name localhost
alias localhost
address 127.0.0.1
+@@ -41,12 +41,12 @@
+ ###############################################################################
+ ###############################################################################
+
+-# Define an optional hostgroup for Linux machines
++# Define an optional hostgroup for FreeBSD machines
+
+ define hostgroup{
+- hostgroup_name linux-servers ; The name of the hostgroup
+- alias Linux Servers ; Long name of the group
+- members localhost ; Comma separated list of hosts that belong to this group
++ hostgroup_name freebsd-servers ; The name of the hostgroup
++ alias FreeBSD Servers ; Long name of the group
++ members localhost ; Comma separated list of hosts that belong to this group
+ }
+
+