sensState
OBS ✓
STE-MIB ·
.1.3.6.1.4.1.21796.4.1.3.1.3
Object
The sensor state.
Observium directly uses this object
This object is referenced by an Observium discovery or polling workflow.
Used in:
Sensors
Explore Observium network monitoring
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 'STE-MIB' -M '/opt/observium/mibs/hwgroup:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'STE-MIB::sensState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'STE-MIB' -M '/opt/observium/mibs/hwgroup:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'STE-MIB::sensState.<sensIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'STE-MIB' -M '/opt/observium/mibs/hwgroup:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'STE-MIB::sensState'
Syntax
- Source
- SensorState
- Base type
Enumeration
Values & Constraints
Type Values
0 | invalid |
1 | normal |
2 | outofrangelo |
3 | outofrangehi |
4 | alarmlo |
5 | alarmhi |