upsAdvConfigPositionSelector
PowerNet-MIB ·
.1.3.6.1.4.1.318.1.1.1.5.2.18
Object
scalar mandatory
r/w
Enumeration
Configure UPS position selector. If the UPS doesn't support this configuration it will report unknown (1). The positions are either rack (2) for rack mounted or tower (3) for tower unit.
Context
- MIB
- PowerNet-MIB
- OID
.1.3.6.1.4.1.318.1.1.1.5.2.18- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- upsAdvConfig
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::upsAdvConfigPositionSelector.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::upsAdvConfigPositionSelector'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | unknown |
2 | rack |
3 | tower |