DMTF-SYSTEMS-MIB :: secondsOnBattery

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsDMTF-SYSTEMS-MIBsecondsOnBattery

secondsOnBattery

Module: DMTF-SYSTEMS-MIB

OID (symbolic): DMTF-SYSTEMS-MIB::secondsOnBattery

OID (numeric): 1.3.6.1.4.1.412.2.4.52.1.2

Node type: OBJECT-TYPE

Type: DmiCounter

Access: read-only

Description: If the UPS is on battery power, the elapsed time in seconds since the UPS last switched to battery power, or the time since the UPS componen software was last restarted, whichever is less. Zero shall be returned if the UPS is not on battery power.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.412.2.4.52.1.2
snmpwalk -v2c -c public <target> DMTF-SYSTEMS-MIB::secondsOnBattery

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.412.2.4.52.1.2.1
snmpget -v2c -c public <target> DMTF-SYSTEMS-MIB::secondsOnBattery.1

SNMPv3 example:

snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> secondsOnBattery.1

Start monitoring DMI/CIM-compliant desktop/server system (vendor-neutral, DMTF standard) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DMTF-SYSTEMS-MIB::secondsOnBattery OID value, configure state conditions and alerts, and monitor any DMI/CIM-compliant desktop/server system (vendor-neutral, DMTF standard) from a single console.

OID Breakdown

Upper-level ancestors (9 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.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.412dmtfBASEBRDD-MIB
1.3.6.1.4.1.412.2dmtfStdMifsBASEBRDD-MIB
1.3.6.1.4.1.412.2.4dmtfSystemsMIFBASEBRDD-MIB
Numeric OIDNameModule
1.3.6.1.4.1.412.2.4.52dmtfUPSBatteryTableDMTF-SYSTEMS-MIB
1.3.6.1.4.1.412.2.4.52.1dmtfUPSBatteryEntryDMTF-SYSTEMS-MIB
1.3.6.1.4.1.412.2.4.52.1.2secondsOnBatteryDMTF-SYSTEMS-MIB