UPS-MIB :: upsSecondsOnBattery

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsUPS-MIBupsSecondsOnBattery

upsSecondsOnBattery

Module: UPS-MIB

OID (symbolic): UPS-MIB::upsSecondsOnBattery

OID (numeric): 1.3.6.1.2.1.33.1.2.2

Node type: OBJECT-TYPE

Type: NonNegativeInteger

Access: read-only

Description: If the unit is on battery power, the elapsed time since the UPS last switched to battery power, or the time since the network management subsystem was last restarted, whichever is less. Zero shall be returned if the unit is not on battery power.

What is upsSecondsOnBattery?

This value reports how many seconds have elapsed since the UPS most recently switched to running on battery power, or since the management agent last restarted, whichever is shorter, and returns zero when the UPS is on utility power. Admins use it to gauge how long an outage has lasted and to trigger alerts or graceful-shutdown scripts once the duration crosses a threshold. A reading of 300 would mean the UPS has been running on battery for 5 minutes since the last utility failure.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.2.1.33.1.2.2
snmpwalk -v2c -c public <target> UPS-MIB::upsSecondsOnBattery

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.2.1.33.1.2.2.1
snmpget -v2c -c public <target> UPS-MIB::upsSecondsOnBattery.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::upsSecondsOnBattery 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 OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.2mgmtAXON-MIB
1.3.6.1.2.1mib_2AXON-MIB
Numeric OIDNameModule
1.3.6.1.2.1.33upsMIBUPS-MIB
1.3.6.1.2.1.33.1upsObjectsUPS-MIB
1.3.6.1.2.1.33.1.2upsBatteryUPS-MIB
1.3.6.1.2.1.33.1.2.2upsSecondsOnBatteryUPS-MIB