aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios4/files/patch-sample-config__template-object__localhost.cfg.in
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/nagios4/files/patch-sample-config__template-object__localhost.cfg.in')
-rw-r--r--net-mgmt/nagios4/files/patch-sample-config__template-object__localhost.cfg.in40
1 files changed, 40 insertions, 0 deletions
diff --git a/net-mgmt/nagios4/files/patch-sample-config__template-object__localhost.cfg.in b/net-mgmt/nagios4/files/patch-sample-config__template-object__localhost.cfg.in
new file mode 100644
index 000000000000..357a7efbe25e
--- /dev/null
+++ b/net-mgmt/nagios4/files/patch-sample-config__template-object__localhost.cfg.in
@@ -0,0 +1,40 @@
+--- ./sample-config/template-object/localhost.cfg.in.orig 2013-11-25 14:16:25.000000000 +0000
++++ ./sample-config/template-object/localhost.cfg.in 2014-01-24 22:40:43.000000000 +0000
+@@ -4,7 +4,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.
+ #
+ ###############################################################################
+
+@@ -22,9 +22,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
+@@ -40,12 +40,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
+ }
+
+