Fix check_procs: ps command line parameters were misconfigured


Signed-off-by: Bernd Krumböck <[email protected]>
---
--- a/admin/nagios-plugins/Makefile     2014-04-02 09:51:34.000000000 +0200
+++ b/admin/nagios-plugins/Makefile     2014-04-02 10:07:00.000000000 +0200
@@ -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"
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to