[Bug 1082767] Re: Configure-time ps command truncates command names
This is a kernel limitation ... ** Package changed: nagios-plugins (Ubuntu) => linux-meta (Ubuntu) ** Changed in: linux-meta (Ubuntu) Status: New => Opinion -- 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/linux-meta/+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
[Bug 1082767] Re: Configure-time ps command truncates command names
...and this problem has been reported before: http://bugs.debian.org /cgi-bin/bugreport.cgi?bug=513460 -- 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
[Bug 1082767] Re: Configure-time ps command truncates command names
That's because "/sbin/getty" is shorter than 15 characters, which means that /proc//status isn't truncating it. ** Bug watch added: Debian Bug tracker #513460 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513460 -- 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
[Bug 1082767] Re: Configure-time ps command truncates command names
sorry ... can't reproduce your problem ... at least on quantal: root@ubuntu:~# LANG=C /usr/lib/nagios/plugins/check_procs -C getty PROCS OK: 6 Prozesse with command name 'getty' root@ubuntu:~# ps aux|grep getty root 1004 0.0 0.0 4632 844 tty4 Ss+ 20:33 0:00 /sbin/getty -8 38400 tty4 root 1008 0.0 0.0 4632 856 tty5 Ss+ 20:33 0:00 /sbin/getty -8 38400 tty5 root 1023 0.0 0.0 4632 848 tty2 Ss+ 20:33 0:00 /sbin/getty -8 38400 tty2 root 1025 0.0 0.0 4632 856 tty3 Ss+ 20:33 0:00 /sbin/getty -8 38400 tty3 root 1029 0.0 0.0 4632 848 tty6 Ss+ 20:33 0:00 /sbin/getty -8 38400 tty6 root 1492 0.0 0.0 4632 852 tty1 Ss+ 20:33 0:00 /sbin/getty -8 38400 tty1 root 13428 0.0 0.0 5636 816 pts/0S+ 22:13 0:00 grep getty looks like you messed your local environment -- 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
[Bug 1082767] Re: Configure-time ps command truncates command names
reassigning to binary package -- 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
[Bug 1082767] Re: Configure-time ps command truncates command names
** Changed in: nagios-plugins (Ubuntu) Importance: Undecided => Medium -- 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
[Bug 1082767] Re: Configure-time ps command truncates command names
** Description changed: It looks like the nagios-plugins package is configured with - --with-ps-command="/bin/ps axwwo 'stat uid pid ppid vsz rss pcpu etime + --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'" + "check_procs -C apach" works. -- 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