Subject: net-snmp-5.x problems with hrStorageSize on NetBSD 2.0 RC4
To: None <>
From: Ed Ravin <>
List: tech-userlevel
Date: 10/29/2004 00:20:42
When I build net-snmp on NetBSD 2.0 RC4, the snmpd daemon returns
very wrong answers for hrStorageSize.  The same versions of net-snmp
(5.1.1) worked under 1.6 and 1.5.  I've also tried net-snmp 5.1.2 and
5.2.rc1 to no avail.  The answers are sometimes right for one of the
disk filesystems on the box, but usually wrong (much smaller) for
all the filesystems.

Any idea what might be wrong?  A quick peek at the source code shows
that snmpd is using statfs() to get the file system information.