emsOutletControlOutletCommand
PowerNet-MIB ·
.1.3.6.1.4.1.318.1.1.10.3.3.1.1.3
Object
column mandatory
r/w
Enumeration
Getting this variable will return the outlet state. If
the outlet is on, the immediateOnEMS (1) value will be returned.
If the outlet is off, the immediateOffEMS (2) value will be
returned.
Setting this variable to immediateOnEMS (1) will immediately turn the outlet on.
Setting this variable to immediateOffEMS (2) will immediately turn the outlet off.
Context
- MIB
- PowerNet-MIB
- OID
.1.3.6.1.4.1.318.1.1.10.3.3.1.1.3- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- emsOutletControlEntry
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::emsOutletControlOutletCommand'
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::emsOutletControlOutletCommand.<emsOutletControlOutletIndex>'
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::emsOutletControlOutletCommand'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | immediateOnEMS |
2 | immediateOffEMS |