eSwitchActType
CPS-MIB ·
.1.3.6.1.4.1.3808.1.1.2.2.3.1.3
Object
The on/off type of the action outlets. 1 for duration off, 2 for duration on, 3 for immediately off, 4 for immediately on, and 5 for reboot.
Context
- MIB
- CPS-MIB
- OID
.1.3.6.1.4.1.3808.1.1.2.2.3.1.3- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- eSwitchBaseCtrEntry
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::eSwitchActType'
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::eSwitchActType.<eSwitchCtrID>'
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::eSwitchActType'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647