Examples of live UPS data including a UPS with a faulty battery.
Adding Probes for alerts:
Example of adding a specific probe.
I used the following Oid's:
iso.org.dod.internet.private.enterprises.318.1.1.1.2.2.1.0 - Battery % >= 90
iso.org.dod.internet.private.enterprises.318.1.1.1.7.2.3.0 - Battery Self Test != 0
iso.org.dod.internet.private.enterprises.318.1.1.1.2.2.2.0 - Battery Temp < 40
iso.org.dod.internet.private.enterprises.318.1.1.1.4.2.3.0 - Output Load < 90
iso.org.dod.internet.private.enterprises.318.1.1.1.2.2.4.0 - Replace Battery != 2
iso.org.dod.internet.private.enterprises.318.1.1.1.2.2.3.0 - Time Remaining > 10:00
You can use the code below to view the UPS status by adding it to the Label.
[Device.Name]
Serial: [oid("iso.org.dod.internet.private.enterprises.318.1.1.1.1.2.3.0")]
Remaining: [oid("iso.org.dod.internet.private.enterprises.318.1.1.1.2.2.3.0")]
Battery Cap: [oid("iso.org.dod.internet.private.enterprises.318.1.1.1.2.2.1.0")]%
Battery Temp: [oid("iso.org.dod.internet.private.enterprises.318.1.1.1.2.2.2.0")] C
Output Load: [oid("iso.org.dod.internet.private.enterprises.318.1.1.1.4.2.3.0")]%
Output V: [oid("iso.org.dod.internet.private.enterprises.318.1.1.1.4.2.1.0")]V
Output A: [oid("iso.org.dod.internet.private.enterprises.318.1.1.1.4.2.4.0")]A
Last Test: [oid("iso.org.dod.internet.private.enterprises.318.1.1.1.7.2.4.0")]
Result: [if(oid("iso.org.dod.internet.private.enterprises.318.1.1.1.7.2.3.0")=1,"Success","Failed")]
Reason Switch: [if(oid("iso.org.dod.internet.private.enterprises.318.1.1.1.3.2.5.0")=1,"No Events","")][if(oid("iso.org.dod.internet.private.enterprises.318.1.1.1.3.2.5.0")=2,"High line Voltage","")][if(oid("iso.org.dod.internet.private.enterprises.318.1.1.1.3.2.5.0")=3,"Brownout","")][if(oid("iso.org.dod.internet.private.enterprises.318.1.1.1.3.2.5.0")=4,"Loss of mains power","")][if(oid("iso.org.dod.internet.private.enterprises.318.1.1.1.3.2.5.0")=5,"Small temp power drop","")][if(oid("iso.org.dod.internet.private.enterprises.318.1.1.1.3.2.5.0")=6,"Large temp power drop","")][if(oid("iso.org.dod.internet.private.enterprises.318.1.1.1.3.2.5.0")=7,"Small spike","")][if(oid("iso.org.dod.internet.private.enterprises.318.1.1.1.3.2.5.0")=8,"Large spike","")][if(oid("iso.org.dod.internet.private.enterprises.318.1.1.1.3.2.5.0")=9,"UPS Selft Test","")][if(oid("iso.org.dod.internet.private.enterprises.318.1.1.1.3.2.5.0")=10,"Excessive input voltage fluctuation","")]
Batt Fault: [if(oid("iso.org.dod.internet.private.enterprises.318.1.1.1.2.2.4.0")=2,"Yes","No")]
No comments:
Post a Comment