Did you setup a Universal Device Poller that reports you when your UPS power is lost?
If not, setup one. I do not know which OID would be the most relevant. Run a MIB walk on your UPS private mib and you should find which OIDs are available.
Once done follow the below post to create your alert:
Also, check out the Content Exchange. There are numerous pre-made pollers available for APC, Emerson, and TrippLite UPS systems that you might be able to use.
Here is what I have done. We have the Emerson (Liebert) UPSs. I have a UnDP polling 2 items :
If #1 > 0 then send an alert that the UPS went to battery. If #2 < 25% (battery) send an alert that the UPS battery is almost out of power.
Once power is restored the I'll get reset alerts.
thanks for the help guys. i finally managed to get it to work