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
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
Bugs, which is subscribed to Ubuntu.
Am 16.12.12 01:31, schrieb Gerald Combs:
That's because /sbin/getty is shorter than 15 characters, which
means that /proc/pid/status isn't truncating it.
that's true, but this is the same for apache2 as you reported first:
$ LANG=C /usr/lib/nagios/plugins/check_procs -C apache2
PROCS OK: 7
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
No, comm cannot be replaced with command without breaking things.
However, the workaround you're suggesting is provided by check_procs
-a (as this uses the format specifier args, which is just an alias
for command).
--
You received this bug notification because you are a member of Ubuntu
Bugs,
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
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
That's because /sbin/getty is shorter than 15 characters, which means
that /proc/pid/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
...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:
reassigning to binary package
--
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:
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
That's because /sbin/getty is shorter than 15 characters, which means
that /proc/pid/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
...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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1082767
Title:
Configure-time ps command
** 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
** Changed in: nagios-plugins (Ubuntu)
Importance: Undecided = Medium
--
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
** 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
** 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
17 matches
Mail list logo