[Pkg-net-snmp-devel] Bug#699479: snmpd: In the SNMP run name table process names are truncated to 15 chars
Robert Waldner
waldner+bug at waldner.priv.at
Thu Jan 31 21:16:33 UTC 2013
Package: snmpd
Version: 5.4.3~dfsg-2.7
Severity: normal
Dear Maintainer,
when querying the system for running processes, like, f'rex, apache2, with
OID iso.3.6.1.2.1.25.4.2.1.2.$PID, the resulting string is truncated to 15
characters (16-byte fixed-size buffer, thinking of 0-terminated strings in
C?).
This is quite annoying since some processes have started to include their
full path in this, like apache2:
$ snmpwalk -v 2c -c comm localhost iso.3.6.1.2.1.25.4.2.1.2 | grep apach
iso.3.6.1.2.1.25.4.2.1.2.1483 = STRING: "/usr/sbin/apach"
...
There are also at least those processes whose names are truncated even
though they don't have their path in there:
BackupPC_trashC (BackupPC_trashClean)
console-kit-dae (console-kit-daemon)
enlightenment_f (enlightenment_fm)
hald-addon-stor (hald-addon-storage)
hald-addon-inpu (hald-addon-input)
Maybe this stems from the MIB and not snmpd, but as I don't know anything
about MIBs... please reassign if appropriate.
cheers,
&rw
-- System Information:
Debian Release: 7.0
APT prefers testing-proposed-updates
APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.7.4 (SMP w/6 CPU cores)
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash
Versions of packages snmpd depends on:
ii adduser 3.113+nmu3
ii debconf [debconf-2.0] 1.5.49
ii libc6 2.13-37
ii libsnmp15 5.4.3~dfsg-2.7
ii libwrap0 7.6.q-24
ii lsb-base 4.1+Debian8
snmpd recommends no packages.
snmpd suggests no packages.
-- Configuration Files:
/etc/default/snmpd changed:
export MIBS=
SNMPDRUN=yes
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -g snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1:161'
TRAPDRUN=no
TRAPDOPTS='-Lsd -p /var/run/snmptrapd.pid'
SNMPDCOMPAT=yes
-- debconf information:
snmpd/upgradefrom521:
More information about the Pkg-net-snmp-devel
mailing list