upsDiagSwitchGearStatus
PowerNet-MIB ·
.1.3.6.1.4.1.318.1.1.1.13.5.1.1
Object
scalar mandatory
Enumeration
The status of the Switch Gear. unknown(1) indicates the device status is unknown. notInstalled(2) indicates the device is not installed. ok(3) indicates the device status is OK. fail(4) indicates the device status has failed. lostComm(5) indicates the device has lost communication. overtemp(6) indicates the device has an over temperature condition.
Context
- MIB
- PowerNet-MIB
- OID
.1.3.6.1.4.1.318.1.1.1.13.5.1.1- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- upsDiagSwitchGear
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar 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::upsDiagSwitchGearStatus.0'
More examples
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::upsDiagSwitchGearStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | unknown |
2 | notInstalled |
3 | ok |
4 | fail |
5 | lostComm |
6 | overtemp |