summaryrefslogtreecommitdiff
path: root/net-mgmt/nagios4/files/patch-sample-config__template-object__localhost.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__localhost.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__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..9fc52359ee4b
--- /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 2014-08-12 15:00:01 UTC
++++ sample-config/template-object/localhost.cfg.in
+@@ -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 host{
+ ###############################################################################
+ ###############################################################################
+
+-# 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
+ }
+
+