mirror of
https://git.freebsd.org/ports.git
synced 2025-06-21 20:50:31 -04:00
- Change examples to read freebsd-server instead of linux-server PR: ports/108417 Submitted by: Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
36 lines
2 KiB
INI
36 lines
2 KiB
INI
--- 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 @@
|
|
}
|
|
|
|
|
|
-# 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).
|
|
|
|
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
|