| Summary: | [MAINTAINER-UPDATE] net-mgmt/nrpe2 use FreeBSD devices, not Linux | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Dan Langille <dan> | ||||
| Component: | Individual Port(s) | Assignee: | Alejandro Pulver <alepulver> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | CC: | dan | ||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Dan Langille
2007-02-01 01:50:19 UTC
Please use this patch instead: 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 21:03:01 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 --path / ++command[check_var]=@libexecdir@/check_disk -w 20 -c 10 --path /var ++command[check_tmp]=@libexecdir@/check_disk -w 20 -c 10 --path /tmp ++command[check_usr]=@libexecdir@/check_disk -w 20 -c 10 --path /usr + command[check_zombie_procs]=@libexecdir@/check_procs -w 5 -c 10 -s Z + command[check_total_procs]=@libexecdir@/check_procs -w 150 -c 200 + Well, upon yet further reflection, this patch makes more sense: 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 21:03:01 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_disk_root]=@libexecdir@/check_disk -w 20 -c 10 --path / ++command[check_disk_var]=@libexecdir@/check_disk -w 20 -c 10 --path /var ++command[check_disk_tmp]=@libexecdir@/check_disk -w 20 -c 10 --path /tmp ++command[check_disk_usr]=@libexecdir@/check_disk -w 20 -c 10 --path /usr + command[check_zombie_procs]=@libexecdir@/check_procs -w 5 -c 10 -s Z + command[check_total_procs]=@libexecdir@/check_procs -w 150 -c 200 + Responsible Changed From-To: freebsd-ports-bugs->alepulver I'll take it. alepulver 2007-02-05 19:07:48 UTC
FreeBSD ports repository
Added files:
net-mgmt/nrpe2/files patch-sample-config-nrpe.cfg.in
Log:
- Patch the sample configuration file to use FreeBSD devices instead of Linux
ones for the HDD.
PR: ports/108636
Submitted by: Dan Langille <dan@langille.org> (maintainer)
Revision Changes Path
1.1 +15 -0 ports/net-mgmt/nrpe2/files/patch-sample-config-nrpe.cfg.in (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks! |