upsDiagSwitchGearInputSwitchStatus
PowerNet-MIB ·
.1.3.6.1.4.1.318.1.1.1.13.5.1.2
Object
scalar mandatory
Enumeration
The status of the Switch Gear Input Switch. unknown(1) indicates the switch status is unknown. notInstalled(2) indicates the switch is not installed. opened(3) indicates the switch is opened. closed(4) indicates the switch is closed.
Context
- MIB
- PowerNet-MIB
- OID
.1.3.6.1.4.1.318.1.1.1.13.5.1.2- 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::upsDiagSwitchGearInputSwitchStatus.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::upsDiagSwitchGearInputSwitchStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | unknown |
2 | notInstalled |
3 | opened |
4 | closed |