Skip to content
Snippets Groups Projects
Commit 8c2ddb0f authored by Jakub Jirutka's avatar Jakub Jirutka :flag_ua:
Browse files

main/nagios-plugins: configure procs to work with Busybox ps

parent ba438cba
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment