Public bug reported: It looks like the nagios-plugins package is configured with
--with-ps-command="/bin/ps axwwo 'stat uid pid ppid vsz rss pcpu etime comm args'" Unfortunately using "comm" returns truncated command names (via /proc/[pid]/status) which makes it difficult or impossible to use check_procs -C. For example, "check_procs -C apache2" fails while "check_procs -C apach" works. It looks like the package should be configured with "cmd" or "command" (which use /proc/[pid]/cmdline) instead, e.g. --with-ps-command="/bin/ps axwwo 'stat uid pid ppid vsz rss pcpu etime command args'" ** Affects: nagios-plugins (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios-plugins in Ubuntu. https://bugs.launchpad.net/bugs/1082767 Title: Configure-time ps command truncates command names To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nagios-plugins/+bug/1082767/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs