[mrtg] UPS time (seconds vs minutes) graphing

John Mulkerin jmulkerin at comcast.net
Wed Jan 5 04:26:38 MET 2005


Trying to graph Battery Time remaining from the UPS.   The UPS reports in 
seconds (i.e 4026 sec).   I would like to graph this in minutes (so it 
would be 67 minutes) not seconds.  Can someone suggest a fix?
Here is my mrtg.cfg:

Target[UPS_5]: 
1.3.6.1.4.1.534.1.2.1.0&1.3.6.1.4.1.534.1.2.1.0:public at 192.168.2.4:
Step[UPS_5]: 60
YLegend[UPS_5]: Battery Left
ShortLegend[UPS_5]: %
Options[UPS_5]: growright,nopercent, gauge, unknaszero,noi
MaxBytes[UPS_5]: 5000
Unscaled[UPS_5]: dwmy
Legend1[UPS_5]: Battery Remaining
Legend2[UPS_5]: .
Legend3[UPS_5]: Max value per interval on graph
Legend4[UPS_5]: .
LegendI[UPS_5]: Remaining:
LegendO[UPS_5]: .
Title[UPS_5]:  Battery Remaining
PageTop[UPS_5]: <H1>Computer Room UPS Battery Remaining</H1>
Colours[UPS_5]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff
WithPeak[UPS_5]: ymw

Here is a snippet from the UPS_5.log file:
1104895201 4026 4026
1104895201 4026 4026 4026 4026
1104895143 235 235 4098 4098
1104894900 0 0 0 0



--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list