[mrtg] APC Powernet mib and TimeTicks
brian at mylinuxisp.com
Tue Jun 6 02:22:18 MEST 2000
I'm trying to use Mrtg to monitor my APC UPS's with the snmp management
cards. Everything is working really well thanks to the examples from so many
others who have already done this.
I've come across a problem that I just can't solve. The
upsAdvBatteryRunTimeRemaining(126.96.36.199.4.1.3188.8.131.52.2.2.3) OID is supposed
to return the amount of time you have in your batteries based on current
system load and results from load tests. The problem is the format in which
the value is returned. The powernet mib lists it as TimeTicks, basically it
looks like this
So what's happening when I run this through mrtg 2.8.9 is that it picks up
the 3 and dumps the rest.
Can anyone suggest a way to convert the value above into just minutes, then
a much smoother curve could be plotted. It's pretty safe to leave out any
processing of the 0d as I certainly don't plan to add enough extra batteries
to get there.
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
More information about the mrtg