[Pkg-net-snmp-devel] Bug#685877: snmpd: Missing tmpfs disk usage information

Antoine Delvaux antoine.delvaux at cassiopea.org
Sat Aug 25 18:52:04 UTC 2012

Package: snmpd
Version: 5.4.3~dfsg-2
Severity: normal

The default net-snmp daemon excludes tmpfs volumes from disk usage information reporting, making mandatory to rely on external scripts to provide this information.  It would be nice if tmpfs partitions could be monitored just like any other.

It seems it's just a matter of removing an exclusion in the agent/mibgroup/host/hr_filesys.c source code file.  Also, see http://bugs.alpinelinux.org/issues/932

-- System Information:
Debian Release: 6.0.5
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages snmpd depends on:
ii  adduser                 3.112+nmu2       add and remove users and groups
ii  debconf [debconf-2.0]         Debian configuration management sy
ii  libc6                   2.11.3-4         Embedded GNU C Library: Shared lib
ii  libsnmp15               5.4.3~dfsg-2     SNMP (Simple Network Management Pr
ii  libwrap0                7.6.q-19         Wietse Venema's TCP wrappers libra
ii  lsb-base                3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip

snmpd recommends no packages.

snmpd suggests no packages.

-- Configuration Files:
/etc/default/snmpd changed:
export MIBDIRS=/usr/share/snmp/mibs
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -g snmp -I -smux -p /var/run/snmpd.pid'
TRAPDOPTS='-Lsd -p /var/run/snmptrapd.pid'

/etc/snmp/snmpd.conf [Errno 13] Permission denied: u'/etc/snmp/snmpd.conf'
/etc/snmp/snmptrapd.conf [Errno 13] Permission denied: u'/etc/snmp/snmptrapd.conf'

-- debconf information:

More information about the Pkg-net-snmp-devel mailing list