usrHistoryValStatus
RMON2-MIB ·
.1.3.6.1.2.1.16.18.3.1.5
Object
column Enumeration
This object indicates the validity and sign of the data in
the associated instance of usrHistoryAbsValue.
If the MIB instance could not be accessed during the sampling
interval, then 'valueNotAvailable(1)' will be returned.
If the sample is valid and the actual value of the sample is
greater than or equal to zero, then 'valuePositive(2)' is
returned.
If the sample is valid and the actual value of the sample is
less than zero, 'valueNegative(3)' will be returned. The
associated instance of usrHistoryAbsValue should be multiplied
by -1 to obtain the true sample value.
Context
- MIB
- RMON2-MIB
- OID
.1.3.6.1.2.1.16.18.3.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- usrHistoryEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'RMON2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RMON2-MIB::usrHistoryValStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RMON2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RMON2-MIB::usrHistoryValStatus.<usrHistoryControlIndex>.<usrHistorySampleIndex>.<usrHistoryObjectIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RMON2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RMON2-MIB::usrHistoryValStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | valueNotAvailable |
2 | valuePositive |
3 | valueNegative |
Conformance
Member of