[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ports/109713: snmpwalk does not return expected value
- To: freebsd-gnats-submit_(_at_)_FreeBSD_(_dot_)_org
- Subject: ports/109713: snmpwalk does not return expected value
- From: Helmut Schneider<jumper99_(_at_)_gmx_(_dot_)_de>
- Date: Thu, 1 Mar 2007 10:02:20 GMT
- Cc:
- Resent-date: Thu, 1 Mar 2007 10:10:10 GMT
- Resent-from: FreeBSD-gnats-submit_(_at_)_FreeBSD_(_dot_)_org (GNATS Filer)
- Resent-message-id: <200703011010_(_dot_)_l21AAAml095702_(_at_)_freefall_(_dot_)_freebsd_(_dot_)_org>
- Resent-reply-to: FreeBSD-gnats-submit_(_at_)_FreeBSD_(_dot_)_org, Helmut Schneider<jumper99_(_at_)_gmx_(_dot_)_de>
- Resent-to: freebsd-ports-bugs_(_at_)_FreeBSD_(_dot_)_org
>Number: 109713
>Category: ports
>Synopsis: snmpwalk does not return expected value
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Mar 01 10:10:10 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Helmut Schneider
>Release: 6.2
>Organization:
>Environment:
FreeBSD orakel 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 root_(_at_)_dessler_(_dot_)_cse_(_dot_)_buffalo_(_dot_)_edu:/usr/obj/usr/src/sys/SMP i386
>Description:
Using net-snmp-5.3.1 I try to query Real Memory which from my understanding should return the amount of built-in RAM:
[root_(_at_)_orakel ~]# snmpwalk -c public -v2c localhost HOST-RESOURCES-MIB::hrStorageDescr.2
HOST-RESOURCES-MIB::hrStorageDescr.2 = STRING: Real Memory
[root_(_at_)_orakel ~]# snmpwalk -c public -v2c localhost HOST-RESOURCES-MIB::hrStorageSize.2
HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: 193455
[root_(_at_)_orakel ~]# snmpwalk -c public -v2c localhost HOST-RESOURCES-MIB::hrStorageSize.2
HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: 193457
[root_(_at_)_orakel ~]# snmpwalk -c public -v2c localhost HOST-RESOURCES-MIB::hrStorageSize.2
HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: 193516
[root_(_at_)_orakel ~]# snmpwalk -c public -v2c localhost HOST-RESOURCES-MIB::hrStorageSize.2
HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: 193457
[root_(_at_)_orakel ~]#
[root_(_at_)_orakel ~]# snmpwalk -c public -v2c localhost HOST-RESOURCES-MIB::hrStorageAllocationUnits.2
HOST-RESOURCES-MIB::hrStorageAllocationUnits.2 = INTEGER: 4096 Bytes
[root_(_at_)_orakel ~]#
4096 Bytes*193457=792399872 Bytes=755 MBytes
I would expect Real Memory to be constant.
Anyway:
[root_(_at_)_orakel ~]# dmesg | grep -i memory
real memory = 1073664000 (1023 MB)
avail memory = 1041477632 (993 MB)
[root_(_at_)_orakel ~]#
e.g. Windows (yeah, I know...) behaves as expected.
>How-To-Repeat:
Install net-snmp, start snmpd, query values.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-ports-bugs_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org