upsRebootWithDuration
UPS-MIB ·
liebert variant
·
.1.3.6.1.2.1.33.1.8.4
Object
scalar r/w
secondsInteger32
Setting this object will immediately shutdown (i.e., turn off) either the UPS output or the UPS system (as determined by the value of upsShutdownType at the time of shutdown) for a period equal to the indicated number of seconds, after which time the output will be started, including starting the UPS, if necessary. If the number of seconds required to perform the request is greater than the requested duration, then the requested shutdown and startup cycle shall be performed in the minimum time possible, but in no case shall this require more than the requested duration plus 60 seconds. When read, upsRebootWithDuration shall return the number of seconds remaining in the countdown, or -1 if no countdown is in progress. If the startup should occur during a utility failure, the startup shall not occur until the utility power is restored.
Context
- MIB
- UPS-MIB
- OID
.1.3.6.1.2.1.33.1.8.4- Type
- scalar
- Access
- readwrite
- Status
- current
- Units
- seconds
- Parent
- upsControl
- Groups
- 2
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'UPS-MIB' -M '/opt/observium/mibs/liebert:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'UPS-MIB::upsRebootWithDuration.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'UPS-MIB' -M '/opt/observium/mibs/liebert:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'UPS-MIB::upsRebootWithDuration'
Syntax
secondsInteger32
Values & Constraints
Object Constraints
range: -1-300
Conformance
Member of
Compliance refinements
The upsRebootWithDuration controls a reboot procedure with
a countdown. It also indicates whether a reboot procedure is in
progress and the number of seconds remaining in the countdown.
a countdown. It also indicates whether a reboot procedure is in
progress and the number of seconds remaining in the countdown.