From: Hauke Mehrtens Date: Thu, 1 May 2014 18:16:09 +0000 (+0000) Subject: nagios-plugins: Fix check_procs command X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=cb52bee7d7491ae7ac9c8ca5f7d3c34edac042a1;p=openwrt%2Fsvn-archive%2Fpackages.git nagios-plugins: Fix check_procs command Fix check_procs: ps command line parameters were misconfigured Signed-off-by: Bernd Krumböck SVN-Revision: 40637 --- diff --git a/admin/nagios-plugins/Makefile b/admin/nagios-plugins/Makefile index 6bb7a23fe..d5fa97e92 100644 --- a/admin/nagios-plugins/Makefile +++ b/admin/nagios-plugins/Makefile @@ -36,10 +36,10 @@ CONFIGURE_ARGS += \ --with-openssl="$(STAGING_DIR)/usr" \ --with-ping-command="/bin/ping -w %d -c %d %s" \ --with-ping6-command="/bin/ping6 -w %d -c %d %s" \ - --with-ps-command="/bin/ps -Aopid" \ + --with-ps-command="/bin/ps w" \ --with-ps-cols="6" \ --with-ps-format="%d %s %d %s %s %n" \ - --with-ps-varlist="&procuid$(comma)&procpid$(comma)&procvsz$(comma)procstat$(comma)procprog$(comma)&pos" \ + --with-ps-varlist="&procpid$(comma)&procuid$(comma)&procvsz$(comma)procstat$(comma)procprog$(comma)&pos" \ --with-uptime-command="/usr/bin/uptime" \ --with-ssh-command="/usr/bin/ssh" \ --with-nslookup-command="/usr/bin/nslookup"