upsRecepShedSecsWithRestart
CPQPOWER-MIB ·
.1.3.6.1.4.1.232.165.3.10.2.1.7
Object
column mandatory
r/w
Integer32
Setting this value will cause the UPS output to turn off after the set number of seconds, then restart (after a UPS-defined 'down time') when the utility is again available. Unlike UpsRecepOffDelaySecs, which might or might not, this object always maps to the XCP 0x8A Load Dump & Restart command, so the desired shutdown and restart behavior is guaranteed to happen. Once set, this command cannot be aborted.
Context
- MIB
- CPQPOWER-MIB
- OID
.1.3.6.1.4.1.232.165.3.10.2.1.7- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- upsRecepEntry
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::upsRecepShedSecsWithRestart'
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::upsRecepShedSecsWithRestart.<upsRecepIndex>'
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::upsRecepShedSecsWithRestart'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-2147483647