[mrtg] Re: Small values

alex at ergens.op.Het.Net alex at ergens.op.Het.Net
Tue Apr 4 12:11:25 MEST 2000

Ashley M. Kirchner wrote:

> Since MRTG doesn't necessarily like non-integer numbers, I had to round
> this number up, or down, depending on the value.

This statement is way too nice.  MRTG just dislikes non-integer numbers.

>     What I'd like to do is be able to feed MRTG something that it can
> then plot fairly accurately, and have the legend also display that under
> the graph.  Even if it's just a single digit, that's fine.  So, say it
> shows up under the graph as 24.8, instead of 25.  And the graph is
> 'sensitive' enough to be able to display these small changes.  Should I
> feed it the values multiplied by 100 (so to get an integer)?  Is there
> any other way of doing this stuff?  Any suggestions are welcome.

There certainly is another way of doing this:  the limitations in MRTG are
recognized and therefore Tobi started to write a new version.  One of the
components for this new version is ready (- oh well, as far as software
will ever be ready -) and is called RRDtool.  If you like you can use it,
see http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool/

You could also wait for the new MRTG.  It isn't there yet and I don't think
an expectation can be made on when its ready.

>     Right now, I have this particular data combined with humidity, which
> comes in values from 0 to 100, while the barometric pressure...well,
> doesn't change all that much.  Should I split these two apart?  I guess
> I would still be stuck with the fact that the barometric graph would
> change ever so slightly, that MRTG may not be able to correctly display
> the values - at least, not the way I'm doing it I guess.  Anyone?

I think it is good to separate these two graphs.  If you decide to use
RRDtool, just create two databases.  When the software is ready to do so,
you can combine both inputs into one graph again.  Currently (to the best
of my knowledge) there is no support yet to do so but on the wish list is
a second Y-axis that can be used for what you want: a second range in the
same graph.

 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |

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

More information about the mrtg mailing list