expObjectSampleType
DISMAN-EXPRESSION-MIB ·
.1.3.6.1.2.1.90.1.2.3.1.4
Object
column r/w
Enumeration
The method of sampling the selected variable.
An 'absoluteValue' is simply the present value of the object.
A 'deltaValue' is the present value minus the previous value,
which was sampled expExpressionDeltaInterval seconds ago.
This is intended primarily for use with SNMP counters, which are
meaningless as an 'absoluteValue', but may be used with any
integer-based value.
A 'changedValue' is a boolean for whether the present value is
different from the previous value. It is applicable to any data
type and results in an Unsigned32 with value 1 if the object's
value is changed and 0 if not. In all other respects it is as a
'deltaValue' and all statements and operation regarding delta
values apply to changed values.
When an expression contains both delta and absolute values
the absolute values are obtained at the end of the delta
period.
Context
- MIB
- DISMAN-EXPRESSION-MIB
- OID
.1.3.6.1.2.1.90.1.2.3.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- expObjectEntry
- 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 'DISMAN-EXPRESSION-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DISMAN-EXPRESSION-MIB::expObjectSampleType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DISMAN-EXPRESSION-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DISMAN-EXPRESSION-MIB::expObjectSampleType.<expExpressionOwner>.<expExpressionName>.<expObjectIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DISMAN-EXPRESSION-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DISMAN-EXPRESSION-MIB::expObjectSampleType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | absoluteValue |
2 | deltaValue |
3 | changedValue |
Conformance
Member of
Compliance refinements
Implementation may disallow deltas calculation or
change detection.
change detection.