[mrtg] Re: UPS time (seconds vs minutes) graphing

Jay Hennigan jay at west.net
Wed Jan 5 05:27:38 MET 2005


On Tue, 4 Jan 2005, John Mulkerin wrote:

> 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:

Replace with (on one line):

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 / 60

Details here:

http://people.ee.ethz.ch/~oetiker/webtools/mrtg/mrtg-reference.html

under the "Multi-target syntax" heading.

--
Jay Hennigan - CCIE #7880 - Network Administration - jay at west.net
WestNet:  Connecting you to the planet.  805 884-6323      WB6RDV
NetLojix Communications, Inc.  -  http://www.netlojix.com/

--
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