diff options
author | sem <sem@FreeBSD.org> | 2005-06-05 19:39:43 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2005-06-05 19:39:43 +0800 |
commit | 3e2e6d0093f2d4c31fa981d2ff170148cf77362a (patch) | |
tree | a97906dde57fd0cebb2c7ee4aeaf4e991bbc7dc9 | |
parent | 9b4d575003a88616f8322b3a8fafd8f623763093 (diff) | |
download | freebsd-ports-gnome-3e2e6d0093f2d4c31fa981d2ff170148cf77362a.tar.gz freebsd-ports-gnome-3e2e6d0093f2d4c31fa981d2ff170148cf77362a.tar.zst freebsd-ports-gnome-3e2e6d0093f2d4c31fa981d2ff170148cf77362a.zip |
- Fix check_procs plugin
PR: ports/81548
Submitted by: Martin Matuska <martin@matuska.org>
Approved by: maintainer
-rw-r--r-- | net-mgmt/nagios-plugins/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/nagios-plugins/files/patch-configure.in | 2 |
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]) |