Looking at the source of net-snmp-5.4.3~dfsg, it appears to make no
attempt to scale the block size to avoid 2^32 wrapping - see
agent/mibgroup/host/hr_storage.c, var_hrstore()
I have made a simple patch which fixes just this particular problem, so
should be suitable for backporting to LTS.
Once
Also confirmed, this remains broken in 12.04
$ snmpwalk -v2c -c public storage3 hrStorageTable | grep
\\.34HOST-RESOURCES-MIB::hrStorageIndex.34 = INTEGER: 34
HOST-RESOURCES-MIB::hrStorageType.34 = OID:
HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageDescr.34 = STRING: /dis
I can confirm this is not fixed. I'm still having the issue on 12.04.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to net-snmp in Ubuntu.
https://bugs.launchpad.net/bugs/865268
Title:
snmpd reports wrong value for hrStorageSize on la
This should be fixed in pangolin. Please re-check and if still not fixed
please re-open.
** Changed in: net-snmp (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to net-snmp in Ubuntu.
https://bu
Version: net-snmp 5.7.1
in net-snmp-5.7.1/agent/mibgroup/hardware/fsys/hw_fsys.c:337
should be
f->avail_32 = f->avail >> factor;
f->used_32 = f->used >> factor;
instead of
f->avail_32 = f->avail << factor;
f->used_32 = f->used << factor;
--
You received this bug notification b
** Changed in: net-snmp (Ubuntu)
Importance: Undecided => Low
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to net-snmp in Ubuntu.
https://bugs.launchpad.net/bugs/865268
Title:
snmpd reports wrong value for hrStorageSize on large f