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

Scalars 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
1unknown
2notInstalled
3ok
4fail
5lostComm
6overtemp