pdu3OutletControlRebootCmd
CPQPOWER-MIB ·
.1.3.6.1.4.1.232.165.11.5.2.1.4
Object
column mandatory
r/w
Integer32
When write, for outlets that are On prior to this Reboot command, they will
switch Off immediately when the command is issued, remain Off for
outletControlRebootOffTime seconds, and then turn back On.
For outlets that are Off prior to the Reboot command, they will turn On after
a delay of outletControlRebootOffTime seconds from when the command is issued.
0-n : Time in seconds until the Reboot command is issued
-1 : Cancel a pending outlet Reboot command
When read, returns -1 if no command is pending, or the current downcount in
seconds of a pending command.
Context
- MIB
- CPQPOWER-MIB
- OID
.1.3.6.1.4.1.232.165.11.5.2.1.4- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- pdu3OutletControlEntry
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 'CPQPOWER-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQPOWER-MIB::pdu3OutletControlRebootCmd'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CPQPOWER-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQPOWER-MIB::pdu3OutletControlRebootCmd.<pdu3IdentIndex>.<pdu3OutletIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQPOWER-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQPOWER-MIB::pdu3OutletControlRebootCmd'
Syntax
Integer32
Values & Constraints
Object Constraints
range: -1-99999