aboutsummaryrefslogtreecommitdiffstats
path: root/main/nagios-plugins
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-12-09 17:33:21 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-12-09 17:33:50 +0100
commit8c2ddb0f562ad96d389e37f139aa6a9ebca7d06d (patch)
tree9e020446f4db5058c21a36ad195f39f64ef0c01e /main/nagios-plugins
parentba438cba07450fdcb660d1e1897a5478c5506d0f (diff)
downloadaports-8c2ddb0f562ad96d389e37f139aa6a9ebca7d06d.tar.bz2
aports-8c2ddb0f562ad96d389e37f139aa6a9ebca7d06d.tar.xz
main/nagios-plugins: configure procs to work with Busybox ps
Diffstat (limited to 'main/nagios-plugins')
-rw-r--r--main/nagios-plugins/APKBUILD11
1 files changed, 5 insertions, 6 deletions
diff --git a/main/nagios-plugins/APKBUILD b/main/nagios-plugins/APKBUILD
index c64d22ef73..c4f59a4468 100644
--- a/main/nagios-plugins/APKBUILD
+++ b/main/nagios-plugins/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Jeff Bilyk <jbilyk@gmail.com>
pkgname=nagios-plugins
pkgver=2.1.4
-pkgrel=1
+pkgrel=2
pkgdesc="Plugins for Nagios to check services on hosts"
url="http://nagiosplugins.org"
arch="all"
@@ -15,7 +15,6 @@ depends_disk_smb="samba-client"
depends_dns="bind-tools"
depends_fping="fping"
depends_log="grep"
-depends_procs="procps"
depends_rcp="rpcbind"
depends_sensors="grep lm_sensors"
depends_snmp="net-snmp-tools"
@@ -61,10 +60,10 @@ build() {
--libexecdir="/$_plugins_dir" \
--localstatedir=/var/nagios \
--with-ipv6 \
- --with-ps-command="/bin/ps" \
- --with-ps-format="%d %s %s %s" \
- --with-ps-varlist="&procpid,&procuid,&procpcpu,procprog" \
- --with-ps-cols=4 \
+ --with-ps-command="/bin/ps -o stat,pid,ppid,vsz,rss,comm,args" \
+ --with-ps-format="%s %d %d %d %d %s %n" \
+ --with-ps-varlist="procstat,&procpid,&procppid,&procvsz,&procrss,procprog,&pos" \
+ --with-ps-cols=7 \
--with-ping-command="/bin/ping -c %d %s" \
--disable-nls \
|| return 1