upsBankControlOutletCommand
CPS-MIB ·
.1.3.6.1.4.1.3808.1.1.1.8.1.1.1.2
Object
column mandatory
r/w
Enumeration
Getting this variable will return the outlet bank state. If the outlet bank is on, the immediateOn (1) value will be returned. If the outlet bank is off, the immediateOff (2) value will be returned. If the outlet bank is critical (uncontrollable), the criticalBank (4) value will be returned. Setting this variable to immediateOn (1) will immediately turn the outlet on. Setting this variable to immediateOff (2) will immediately turn the outlet off.
Context
- MIB
- CPS-MIB
- OID
.1.3.6.1.4.1.3808.1.1.1.8.1.1.1.2- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- upsBankOutletControlEntry
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 'CPS-MIB' -M '/opt/observium/mibs/cyberpower:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPS-MIB::upsBankControlOutletCommand'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CPS-MIB' -M '/opt/observium/mibs/cyberpower:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPS-MIB::upsBankControlOutletCommand.<upsBankControlIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPS-MIB' -M '/opt/observium/mibs/cyberpower:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPS-MIB::upsBankControlOutletCommand'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | immediateOn |
2 | immediateOff |
3 | bankNotExist |
4 | criticalBank |