Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to display Negative values with MRTG

177 views
Skip to first unread message

Ib Thomsen

unread,
Nov 22, 2003, 8:03:01 AM11/22/03
to
Hi

Is it possible to show negative values with mrtg, i should use it to monitor
outdoor temp.

Regards
Ib Thomsen


Jeff Liebermann

unread,
Nov 23, 2003, 12:13:48 AM11/23/03
to
On Sat, 22 Nov 2003 14:03:01 +0100, "Ib Thomsen" <n...@reply.dk> wrote:

>Is it possible to show negative values with mrtg, i should use it to monitor
>outdoor temp.

No. MRTG only does integers. No fractions, no signed integers, no
floating point, no decimals, just integers. If you want those, use
RRDTool.

This might help:
http://www.pcmeasure.com/mrtg.php

--
# Jeff Liebermann 150 Felker St #D Santa Cruz CA 95060
# 831.336.2558 voice http://www.LearnByDestroying.com
# je...@comix.santa-cruz.ca.us
# 831.421.6491 digital_pager je...@cruzio.com AE6KS

Mats K

unread,
Nov 23, 2003, 9:13:43 AM11/23/03
to
Jeff Liebermann wrote:
> On Sat, 22 Nov 2003 14:03:01 +0100, "Ib Thomsen" <n...@reply.dk> wrote:
>
>> Is it possible to show negative values with mrtg, i should use it to
>> monitor outdoor temp.
>
> No. MRTG only does integers. No fractions, no signed integers, no
> floating point, no decimals, just integers. If you want those, use
> RRDTool.
>
> This might help:
> http://www.pcmeasure.com/mrtg.php

There is a workaround, use the mathematical function and add 100 to the
input values.

/Mats


0 new messages