[mrtg] Difference in graph between Daily vs Weekly/Monthly/Yearly

Maikel van Gorkom maikelvangorkom at gmail.com
Mon May 13 15:26:40 CEST 2019


Hi Daniel,

After an upgrade from version 2.7.4 to 2.7.7 everything works like it
should.

Regards.

On Mon, 13 May 2019, 09:52 Daniel Beardsmore, <resident at telcontar.net>
wrote:

> I’m confused … kMG according to the documentation, just changes the
> prefixes. It does not appear to apply any scaling. That is, if you write
> kMG[…]: M,… then a value of 1 will be shown as 1 M, not 1. (It also seems
> to be a very clumsy to change the prefixes unless you specifically want
> non-SI prefixes.)
>
>
>
> The difference in your graphs is not a question of the wrong unit being
> shown. Rather, something is breaking the scaling. Having not used kMG and
> without your configuration to examine, I can’t say whether or not it does
> what it is documented to do, or whether you have done something else that
> you’ve not noticed. Something seems very amiss if kMG is applying scaling,
> as that is not what it seems to be there for.
>
>
>
> I would suggest trying Factor instead. If you set Factor to 1048576, you
> will have your megabytes converted to bytes, which should then scale
> properly.
>
>
>
> *From:* mrtg [mailto:mrtg-bounces+resident=telcontar.net at lists.oetiker.ch]
> *On Behalf Of *Maikel van Gorkom
> *Sent:* 11 May 2019 11:14
> *To:* mrtg at lists.oetiker.ch
> *Subject:* [mrtg] Difference in graph between Daily vs
> Weekly/Monthly/Yearly
>
>
>
> Hi All,
>
>
>
> Have had this issue for a while now. Have had this issue on different
> linux installations, different hardware and even on virtualized
> environment. I think it's a configuration issue, but i can't find the
> solution.
>
>
>
> The issue is as follows:
>
> I've configured MRTG to use a script to graph disk spaces. Using kmg the
> start position is MB's, because the input is MB's (df -m). The daily graph
> correctly converts the the MB's to GB's so 1600000MB is converted to
> 1600GB('ish). When you look at the weekly, monthly and yearly graph, the
> convergion isn't mad, so you see 1600000MB printed into the graph.
>
>
>
> This is the day graph:
>
> https://tweakers.net/ext/f/v3pZaHDeqePXFIuvSM6PLUOw/full.png
>
> And this is the weekly graph:
>
> https://tweakers.net/ext/f/LHKgiUpxjYy8iVnave24aUVf/full.png
>
>
>
> Anybody got an idea what i'm doing wrong?
>
>
>
> Regards
>
> Maikel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20190513/c16f1043/attachment.html>


More information about the mrtg mailing list