This is indeed ultimately a kernel limitation, one which will likely
never be fixed. Procps should probably be modified to use
/proc/<pid>/cmdline instead of the first line of /proc/<pid>/status for
command names since this can affect other programs as well as indicated
by the Debian bug.

In the mean time, check_procs is broken. Can we work around the problem
by configuring nagios-plugins with a ps argument that returns the full
command name, e.g. something like

  --with-ps-command="/bin/ps axwwo 'stat uid pid ppid vsz rss pcpu etime
command'"

instead of

  --with-ps-command="/bin/ps axwwo 'stat uid pid ppid vsz rss pcpu etime
comm args'"

?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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/linux-meta/+bug/1082767/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to