upsIndividualOutletControlCommand
CPS-MIB ·
.1.3.6.1.4.1.3808.1.1.1.8.2.5.1.3
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.
Setting this variable to immediateOn (1) will immediately turn the outlet on.
Setting this variable to immediateOff (2) will immediately turn the outlet off.
Setting this variable to immediateReboot (3) will immediately reboot the outlet.
Setting this variable to delayedOn (4) will turn the outlet on
after the upsIndividualOutletConfigPowerOnTime OID time has elapsed.
Setting this variable to delayedOff (5) will turn the outlet off
after the upsIndividualOutletConfigPowerOffTime OID time has elapsed.
Setting this variable to delayedReboot (6) will cause the
switched outlet to perform a delayedOff command, wait the
upsIndividualOutletConfigRebootDuration OID time, and then perform a
delayedOn command.
Setting this variable to cancelPendingCommand (7) will cause any
pending command to this outlet to be canceled.
Context
- MIB
- CPS-MIB
- OID
.1.3.6.1.4.1.3808.1.1.1.8.2.5.1.3- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- upsIndividualOutletControlEntry
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::upsIndividualOutletControlCommand'
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::upsIndividualOutletControlCommand.<upsIndividualOutletControlIndex>'
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::upsIndividualOutletControlCommand'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | immediateOn |
2 | immediateOff |
3 | immediateReboot |
4 | delayedOn |
5 | delayedOff |
6 | delayedReboot |
7 | cancelPendingCommand |