Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Aug 2011 11:30:10 GMT
From:      Adam <adenergy@hotmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/159680: net-mgmt/net-snmp-5.5_4 hrStorageUsed value showing available not used value
Message-ID:  <201108111130.p7BBUA0C060700@red.freebsd.org>
Resent-Message-ID: <201108111140.p7BBe8pg023832@freefall.freebsd.org>

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

>Number:         159680
>Category:       ports
>Synopsis:       net-mgmt/net-snmp-5.5_4 hrStorageUsed value showing available not used 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 Aug 11 11:40:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Adam
>Release:        9.0-BETA1 and 7.2-RELEASE-p8
>Organization:
>Environment:
>Description:
net-mgmt/net-snmp-5.5_4 hrStorageUsed value showing available not used value
eg.

real df on the host
Filesystem  1K-blocks    Used    Avail Capacity  Mounted on
/dev/da0s2d   8122126   38058  7434298     1%    /app1

snmpdf of host
Description              size (kB)            Used       Available Used%
/app1                      8122126         8084068           38058   99%

snmpwalk of host
HOST-RESOURCES-MIB::hrStorageDescr.33 = STRING: /app1
HOST-RESOURCES-MIB::hrStorageAllocationUnits.33 = INTEGER: 2048 Bytes
HOST-RESOURCES-MIB::hrStorageSize.33 = INTEGER: 4061063
HOST-RESOURCES-MIB::hrStorageUsed.33 = INTEGER: 4042034


>How-To-Repeat:
net-snmp-5.5_4 appears to provide the correct value for hrStorageUsed.
net-snmp-5.7_1 appears to provide available storage instead of used storage for the hrStorageUsed value.



>Fix:


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



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