[mrtg] Adding decimals to graphs
Alan T. Malek
axu at cypress.com
Tue Nov 20 16:36:05 CET 2007
Ah. Was actually looking at the same thing when you sent this :-)
Your advice is close but the wrong direction. If I do a factor: .01
then I'm golden. Thanks so much! I guess this should have been
obvious but it's interesting to me how many other people had the same
question in various other forums but never posted a final resolution.
Hopefully this will help someone down the road with a little
On Nov 20, 2007, at 4:21 PM, Daniel J McDonald wrote:
> On Tue, 2007-11-20 at 15:56 +0100, Alan T. Malek wrote:
>> I'm using mrtg to graph the data from my AVTech Rooomalert 24E. It's
>> taken some effort to get it functional, but I've still one issue
>> remaining that I just can't figure out. I've found similar references
>> to my problem around the 'net but never a definitive answer. Hoping
>> someone here can lend a hand.
> factor: 100
> is probably what you are looking for.
>> The temperature sensor returns the temp using four integers. So, a
>> log entry of say, 2010, is actually 20.10 degrees Celsius.
>> Unfortunately, mrtg seems rather keen on maintaining the scale in the
>> thousands. What I need in effect is to divide all numbers by 100...or
>> so I thought. I finally figured out that I could divide the Target /
>> 100 which does cut down the size but I lose all precision. My log
>> data goes from 2010 to just 20. Graphs certainly look nicer that
>> way...I mean 2010 C *is* a bit on the warm side for a machine room,
>> eh ;-) but ultimately, that's just not what I want. What I want is to
>> have mrtg interpret the 4 integers as a proper temperature reading
>> incorporating the decimal and maintaining the precision. I found this
>> site indicating to me that it is entirely possible - http://
>> windmere.org/mrtg/alert/ - I'd like this exactly, but just can't
>> figure it out.
>> So, the question is how do I get my mrtg graphs to format properly
>> with a decimal.
>> Thanks a million.
>> mrtg mailing list
>> mrtg at lists.oetiker.ch
More information about the mrtg