aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios-plugins
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2005-06-05 11:39:43 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2005-06-05 11:39:43 +0000
commitba6931050a6aea41f01d7b97ea915ffa4b1f14c3 (patch)
treec5fc7e6c2fb63372c9c0708bf01b18ec5f7dcf19 /net-mgmt/nagios-plugins
parentc68cdc2bf0db09b3320f5b8e6f2acfd4e3053584 (diff)
downloadports-ba6931050a6aea41f01d7b97ea915ffa4b1f14c3.tar.gz
ports-ba6931050a6aea41f01d7b97ea915ffa4b1f14c3.zip
- Fix check_procs plugin
PR: ports/81548 Submitted by: Martin Matuska <martin@matuska.org> Approved by: maintainer
Notes
Notes: svn path=/head/; revision=136810
Diffstat (limited to 'net-mgmt/nagios-plugins')
-rw-r--r--net-mgmt/nagios-plugins/Makefile2
-rw-r--r--net-mgmt/nagios-plugins/files/patch-configure.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/net-mgmt/nagios-plugins/Makefile b/net-mgmt/nagios-plugins/Makefile
index 40752f2e3cd1..b3cf3cde2a3e 100644
--- a/net-mgmt/nagios-plugins/Makefile
+++ b/net-mgmt/nagios-plugins/Makefile
@@ -7,7 +7,7 @@
PORTNAME= nagios-plugins
PORTVERSION= 1.4
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
diff --git a/net-mgmt/nagios-plugins/files/patch-configure.in b/net-mgmt/nagios-plugins/files/patch-configure.in
index 13ddd2aec2a1..7962775b1037 100644
--- a/net-mgmt/nagios-plugins/files/patch-configure.in
+++ b/net-mgmt/nagios-plugins/files/patch-configure.in
@@ -301,7 +301,7 @@
- AC_MSG_WARN([unable to find usable ps syntax - check_procs and check_nagios will not be compiled])
-fi
+ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]"
-+ac_cv_ps_command="$PATH_TO_PS axwo 'state uid ppid vsz rss pcpu command command'"
++ac_cv_ps_command="$PATH_TO_PS axwo 'state uid ppid vsz rss pcpu ucomm command'"
+ac_cv_ps_format="%s %d %d %d %d %f %s %n"
+ac_cv_ps_cols=8
+AC_MSG_RESULT([$ac_cv_ps_command])