freebsd-ports/net-mgmt/icinga/files/patch-sample-config-template-object-localhost.cfg.in
Lars Engels f43e9201fa Big cleanup for the icinga port:
- Update to 1.10.2
- Stagify
- Use new LIB_DEPENDS syntax
- Add USES gmake
- Remove a lot of no longer needed variables and logic from the old nagios port
- Install Apache 2.x configuration examples by default, no longer provide an
  option to depend on www/apache22 to be more flexible
- Use ports system's own way to add and remove users and groups. Remove pkg-{de,}install
- Don't use the install-commandmode make target. ICINGADIR and ICINGALOGDIR are now created
  from the icinga rc-script
- Remove embedded Perl option which is considered broken by the developers
- Remove UNHANDLED_HACK option - another relict from the old nagios port.
2013-12-20 16:05:51 +00:00

40 lines
1.9 KiB
INI

--- sample-config/template-object/localhost.cfg.in.orig 2013-12-05 12:51:35.000000000 +0100
+++ sample-config/template-object/localhost.cfg.in 2013-12-06 17:20:49.754148157 +0100
@@ -3,7 +3,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.
#
###############################################################################
@@ -21,9 +21,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
@@ -39,12 +39,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
}