emsSensorStatusSensorState
PowerNet-MIB ·
.1.3.6.1.4.1.318.1.1.10.3.18.1.1.4
Object
column mandatory
Enumeration
Getting this variable will return the sensor state. If the sensor is faulted, the sensorFaultedEMS (1) value will be returned. If the sensor is not faulted, the sensorOKEMS (2) value will be returned. If the sensor is not installed, the sensorNotInstalledEMS (3) value will be returned.
Context
- MIB
- PowerNet-MIB
- OID
.1.3.6.1.4.1.318.1.1.10.3.18.1.1.4- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- emsSensorStatusEntry
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 'PowerNet-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PowerNet-MIB::emsSensorStatusSensorState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PowerNet-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PowerNet-MIB::emsSensorStatusSensorState.<emsSensorStatusSensorIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PowerNet-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PowerNet-MIB::emsSensorStatusSensorState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | sensorFaultedEMS |
2 | sensorOKEMS |
3 | sensorNotInstalledEMS |