ports/159680: net-mgmt/net-snmp-5.5_4 hrStorageUsed value showing available not used value

Adam adenergy at hotmail.com
Thu Aug 11 11:40:08 UTC 2011


>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:



More information about the freebsd-ports-bugs mailing list