ePDUOutletControlCommand
PowerNet-MIB ·
.1.3.6.1.4.1.318.1.1.30.6.2.1.4
Object
column mandatory
r/w
Enumeration
Getting this variable will return the outlet state. If the outlet is on, the immediateOn (1) value will be returned. If the outlet is off, the immediateOff (2) value will be returned. If the state of the outlet cannot be determined, the outletUnknown (3) value will be returned. If the outletUnknown condition should occur, all devices powered by the PDU should be shut down. The PDU's power should then be cycled to clear this condition. Models that do not support this feature, will respond to this OID with a value of notSupported (-1). 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
- PowerNet-MIB
- OID
.1.3.6.1.4.1.318.1.1.30.6.2.1.4- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- ePDUOutletControlEntry
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 'PowerNet-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PowerNet-MIB::ePDUOutletControlCommand'
More examples
Read one indexed 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::ePDUOutletControlCommand.<ePDUOutletControlIndex>'
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::ePDUOutletControlCommand'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | immediateOn |
2 | immediateOff |
3 | outletUnknown |