ports/108636: [MAINTAINER-UPDATE] net-mgmt/nrpe2 use FreeBSD devices, not Linux
Dan Langille
dan at langille.org
Thu Feb 1 01:50:28 UTC 2007
>Number: 108636
>Category: ports
>Synopsis: [MAINTAINER-UPDATE] net-mgmt/nrpe2 use FreeBSD devices, not Linux
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 01 01:50:19 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Dan Langille
>Release: FreeBSD 4.9-STABLE i386
>Organization:
The FreeBSD Diary
>Environment:
System: FreeBSD xeon.unixathome.org 4.9-STABLE FreeBSD 4.9-STABLE #2: Wed Mar 3 08:16:24 EST 2004 dan at polo.unixathome.org:/usr/obj/usr/src/sys/XEON i386
>Description:
This patches the sample configuration file to use FreeBSD devices
not Linux devices for the HDD.
>How-To-Repeat:
>Fix:
--- nrpe2.patch.disk begins here ---
diff -ruN /usr/ports/net-mgmt/nrpe2/files/patch-sample-config-nrpe.cfg.in nrpe2/files/patch-sample-config-nrpe.cfg.in
--- /usr/ports/net-mgmt/nrpe2/files/patch-sample-config-nrpe.cfg.in Wed Dec 31 19:00:00 1969
+++ nrpe2/files/patch-sample-config-nrpe.cfg.in Wed Jan 31 20:44:49 2007
@@ -0,0 +1,15 @@
+--- sample-config/nrpe.cfg.in~ Mon Dec 11 21:04:00 2006
++++ sample-config/nrpe.cfg.in Wed Jan 31 20:40:28 2007
+@@ -190,8 +190,10 @@
+
+ command[check_users]=@libexecdir@/check_users -w 5 -c 10
+ command[check_load]=@libexecdir@/check_load -w 15,10,5 -c 30,25,20
+-command[check_disk1]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hda1
+-command[check_disk2]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hdb1
++command[check_root]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/ad0s1a
++command[check_var]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/ad0s1d
++command[check_tmp]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/ad0s1e
++command[check_usr]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/ad0s1f
+ command[check_zombie_procs]=@libexecdir@/check_procs -w 5 -c 10 -s Z
+ command[check_total_procs]=@libexecdir@/check_procs -w 150 -c 200
+
--- nrpe2.patch.disk ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list