<div dir="ltr">Hi Daniel,<div><br></div><div>After an upgrade from version 2.7.4 to 2.7.7 everything works like it should.</div><div><br></div><div>Regards.</div></div><div dir="auto"></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 13 May 2019, 09:52 Daniel Beardsmore, <<a href="mailto:resident@telcontar.net" target="_blank">resident@telcontar.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-GB"><div class="gmail-m_4725102508530353093m_7138224615943343291WordSection1"><p class="MsoNormal"><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(0,0,127)">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.)<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(0,0,127)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(0,0,127)">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.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(0,0,127)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(0,0,127)">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.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(0,0,127)"><u></u> <u></u></span></p><div style="border-top:none;border-right:none;border-bottom:none;border-left:1.5pt solid blue;padding:0cm 0cm 0cm 4pt"><div><div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif">From:</span></b><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif"> mrtg [mailto:<a href="mailto:mrtg-bounces%2Bresident" rel="noreferrer" target="_blank">mrtg-bounces+resident</a>=<a href="mailto:telcontar.net@lists.oetiker.ch" rel="noreferrer" target="_blank">telcontar.net@lists.oetiker.ch</a>] <b>On Behalf Of </b>Maikel van Gorkom<br><b>Sent:</b> 11 May 2019 11:14<br><b>To:</b> <a href="mailto:mrtg@lists.oetiker.ch" rel="noreferrer" target="_blank">mrtg@lists.oetiker.ch</a><br><b>Subject:</b> [mrtg] Difference in graph between Daily vs Weekly/Monthly/Yearly<u></u><u></u></span></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Hi All,<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">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.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">The issue is as follows:<u></u><u></u></p></div><div><p class="MsoNormal">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.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">This is the day graph:<u></u><u></u></p></div><div><p class="MsoNormal"><a href="https://tweakers.net/ext/f/v3pZaHDeqePXFIuvSM6PLUOw/full.png" rel="noreferrer" target="_blank">https://tweakers.net/ext/f/v3pZaHDeqePXFIuvSM6PLUOw/full.png</a>  <u></u><u></u></p></div><div><p class="MsoNormal">And this is the weekly graph:<u></u><u></u></p></div><div><p class="MsoNormal"><a href="https://tweakers.net/ext/f/LHKgiUpxjYy8iVnave24aUVf/full.png" rel="noreferrer" target="_blank">https://tweakers.net/ext/f/LHKgiUpxjYy8iVnave24aUVf/full.png</a>  <u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Anybody got an idea what i'm doing wrong?<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Regards<u></u><u></u></p></div><div><p class="MsoNormal">Maikel<u></u><u></u></p></div></div></div></div></div></blockquote></div>