eSwitchOutletState
CPS-MIB ·
.1.3.6.1.4.1.3808.1.1.2.2.2.1.3
Object
Getting this OID will reply the status of all outlets in the switch. '0' for outlet off, '1' for outlet on. The index from left to right is outlet#8, #7, #6, #5, #4, #3, #2, #1. For Example: If the string is '01011010', it means the outlets status are the following: outlet #8 is off, outlet #7 is on, outlet #6 is off, outlet #5 is on, outlet #4 is on, outlet #3 is off, outlet #2 is on, outlet #1 is off.
Context
- MIB
- CPS-MIB
- OID
.1.3.6.1.4.1.3808.1.1.2.2.2.1.3- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- eSwitchBaseEntry
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::eSwitchOutletState'
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::eSwitchOutletState.<eSwitchID>'
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::eSwitchOutletState'
Syntax
- Source
- RFC1213-MIBDisplayString
- Base type
OctetString
Values & Constraints
No enumerated values or constraints recorded.