sensorStatus
OPENBSD-SENSORS-MIB ·
.1.3.6.1.4.1.30155.2.1.2.1.7
Object
column Enumeration
Indicates whether the sensor value is within an acceptable range.
Context
- MIB
- OPENBSD-SENSORS-MIB
- OID
.1.3.6.1.4.1.30155.2.1.2.1.7- Type
- column
- Access
- readonly
- Status
- current
- Parent
- sensorEntry
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 'OPENBSD-SENSORS-MIB' -M '/opt/observium/mibs/unix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPENBSD-SENSORS-MIB::sensorStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OPENBSD-SENSORS-MIB' -M '/opt/observium/mibs/unix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPENBSD-SENSORS-MIB::sensorStatus.<sensorIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OPENBSD-SENSORS-MIB' -M '/opt/observium/mibs/unix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OPENBSD-SENSORS-MIB::sensorStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | unspecified |
1 | ok |
2 | warn |
3 | critical |
4 | unknown |