All MIBs › UPS-MIB › upsSecondsOnBattery
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.
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
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.2 | mgmt | BKTEL-HFC862-BASE-MIB |
| 1.3.6.1.2.1 | mib_2 | CHECKPOINT-MIB-2 |
| 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.2 | upsBattery | UPS-MIB |
| 1.3.6.1.2.1.33.1.2.2 | upsSecondsOnBattery | UPS-MIB |