misc/123276: net-snmp54 reports wrong hrMemorySize

Helmut Schneider jumper99 at gmx.de
Wed Apr 30 18:40:02 UTC 2008


>Number:         123276
>Category:       misc
>Synopsis:       net-snmp54 reports wrong hrMemorySize
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 30 18:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Helmut Schneider
>Release:        7.0-RELEASE
>Organization:
>Environment:
>Description:
[root at BSDHelmut ~]# snmpwalk -v2c -cpublic localhost HOST-RESOURCES-MIB::hrMemorySize.0
HOST-RESOURCES-MIB::hrMemorySize.0 = INTEGER: 3191524 KBytes
[root at BSDHelmut ~]# snmpwalk -v2c -cpublic localhost HOST-RESOURCES-MIB::hrMemorySize.0
HOST-RESOURCES-MIB::hrMemorySize.0 = INTEGER: 3189804 KBytes
[root at BSDHelmut ~]#

IMO HOST-RESOURCES-MIB::hrMemorySize.0 should be unchanging.

[root at BSDHelmut ~]# sysctl hw.physmem
hw.physmem: 3476221952
[root at BSDHelmut ~]#

[root at BSDHelmut ~]# pkg_info | grep net-snmp
net-snmp-5.4.1_3    An extendable SNMP implementation
[root at BSDHelmut ~]#

Here is what net-snmp53 says:

[root at BSDHelmut ~]# snmpwalk -v2c -cpublic localhost HOST-RESOURCES-MIB::hrMemorySize.0
HOST-RESOURCES-MIB::hrMemorySize.0 = INTEGER: 3394748 KBytes
[root at BSDHelmut ~]#

3394748*1024=3476221952 => correct.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list