All MIBs › UPS-MIB › upsRebootWithDuration
upsRebootWithDuration
Module: UPS-MIB
OID (symbolic): UPS-MIB::upsRebootWithDuration
OID (numeric): 1.3.6.1.2.1.33.1.8.4
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: 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.
What is upsRebootWithDuration?
Writing a value here immediately shuts down the UPS output or system for the given number of seconds, up to 300, before automatically restarting it, and reading it returns the seconds remaining in that cycle or -1 if none is active. Admins use this to remotely power-cycle connected equipment, for example to force a hung device to reboot, without needing physical access to the UPS. Setting this to 30 would cut power for half a minute and then restore it automatically, power-cycling whatever is plugged into the UPS output.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.33.1.8.4 snmpwalk -v2c -c public <target> UPS-MIB::upsRebootWithDuration
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.33.1.8.4.1 snmpget -v2c -c public <target> UPS-MIB::upsRebootWithDuration.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.2.1.33.1.8.4.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> upsRebootWithDuration.1
Start monitoring vendor-neutral, standards-based MIB, Uninterruptible Power Supply (UPS) systems (battery health/runtime/alarm status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the UPS-MIB::upsRebootWithDuration OID value, configure state conditions and alerts, and monitor any vendor-neutral, standards-based MIB, Uninterruptible Power Supply (UPS) systems (battery health/runtime/alarm status) from a single console.
OID Breakdown
Upper-level ancestors (6 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.2 | mgmt | AXON-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.33 | upsMIB | UPS-MIB |
| 1.3.6.1.2.1.33.1 | upsObjects | UPS-MIB |
| 1.3.6.1.2.1.33.1.8 | upsControl | UPS-MIB |
| 1.3.6.1.2.1.33.1.8.4 | upsRebootWithDuration | UPS-MIB |