All MIBs › UPS-MIB › upsTrapOnBattery
upsTrapOnBattery
Module: UPS-MIB
OID (symbolic): UPS-MIB::upsTrapOnBattery
OID (numeric): 1.3.6.1.2.1.33.2.1
Node type: NOTIFICATION-TYPE
Description:
The UPS is operating on battery power. This trap is persistent and is resent at one minute intervals until the UPS either turns off or is no longer running on battery.
Examples
Send this trap to an SNMP manager — replace <manager> with the IP or hostname of your monitoring server (SNMPv2c):
snmptrap -v2c -c public <manager> '' UPS-MIB::upsTrapOnBattery snmptrap -v2c -c public <manager> '' 1.3.6.1.2.1.33.2.1
Listen for incoming traps on the manager host (-f keeps it in the foreground, -Lo prints to stdout — useful for testing):
snmptrapd -f -Lo -c /dev/null authCommunity log public
Example snmptrapd log entry:
zoo11-linux.zoo [UDP: [192.168.30.111]:56137->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (200885577) 23 days, 6:00:55.77 SNMPv2-MIB::snmpTrapOID.0 = OID: UPS-MIB::upsTrapOnBattery
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.2 | upsTraps | UPS-MIB |
| 1.3.6.1.2.1.33.2.1 | upsTrapOnBattery | UPS-MIB |