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.in40
1 files changed, 40 insertions, 0 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
new file mode 100644
index 000000000000..7d70490dc71e
--- /dev/null
+++ b/net-mgmt/nagios/files/patch-sample-config__template-object__localhost.cfg.in
@@ -0,0 +1,40 @@
+--- ./sample-config/template-object/localhost.cfg.in.orig 2013-08-30 19:46:14.000000000 +0200
++++ ./sample-config/template-object/localhost.cfg.in 2014-01-14 13:57:06.000000000 +0100
+@@ -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.
+ #
+ ###############################################################################
+
+@@ -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
+ ; 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
+ }
+
+