Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Apr 2008 18:31:00 GMT
From:      Helmut Schneider <jumper99@gmx.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/123276: net-snmp54 reports wrong hrMemorySize
Message-ID:  <200804301831.m3UIV04m056470@www.freebsd.org>
Resent-Message-ID: <200804301840.m3UIe19u061368@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@BSDHelmut ~]# snmpwalk -v2c -cpublic localhost HOST-RESOURCES-MIB::hrMemorySize.0
HOST-RESOURCES-MIB::hrMemorySize.0 = INTEGER: 3191524 KBytes
[root@BSDHelmut ~]# snmpwalk -v2c -cpublic localhost HOST-RESOURCES-MIB::hrMemorySize.0
HOST-RESOURCES-MIB::hrMemorySize.0 = INTEGER: 3189804 KBytes
[root@BSDHelmut ~]#

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

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

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

Here is what net-snmp53 says:

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

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

>Fix:


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804301831.m3UIV04m056470>