[mrtg] Re: Problems with mrtg returning 0

Nick D mrtg_list at coolnicks.co.uk
Mon Feb 20 18:20:59 MET 2006

>> Yes, you can use 'Gauge' at the options line. The disadvantage is that
your graphs are increasing all the time untill you reset the counter. The
result is an  >>impressive looking sawteeth graph.

So its not possible to say show total DHCP requests over the 5minutes, but
not ever increasing, such that in 5 minute invervals there were 3, 5, 1 then
4 requests. Is it not possible to show these on the graph as they are (e.g
not dividing by time) and without including the last result (like the
'Gauge' option).

Would it only be possible to do this with an external script?

Another question is what happens when a counter is reset upon reboot, i
rebooted just now and alot of graphs spiked to 32,000, is this because the
counter got reset to 0 and MRTG thought the counter had overflowed and
reset? Does it not check when the device was last booted and decided from

And have you had any experience with external scripts getting data from WMI,
its hellish slow, i just timed it and it took 45 seconds to run mrtg once,
and thats only 3 WMI scripts.

Sorry for all the questions, but you are being a great help :)


----- Original Message ----- 
From: "Koelstra, J. (Jan)" <JKoelstra at MINSZW.NL>
To: "Nick D" <mrtg_list at coolnicks.co.uk>
Sent: Monday, February 20, 2006 4:48 PM
Subject: RE: [mrtg] Re: Problems with mrtg returning 0

> -----Original Message-----
> From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On
Behalf Of Nick D
> Sent: Monday, February 20, 2006 5:28 PM
> To: mrtg at list.ee.ethz.ch
> Subject: [mrtg] Re: Problems with mrtg returning 0
> Thank you, that helps.
> So if I use the 'perminute' option it will divide it by the number of
minutes, not seconds. (E.g returned value - previous value/ number of
minutes passed), meaning the minimum value over 5 minutes needs to be 5 >
for it to show 1, else it will be 0?


> How will this then affect it when another copy of the graph is running on
the main server that gets more hits, will it break it?

It will not break, but the numbers will be 60 times higher as before. You
can even consider leaving the one wich is running fine as it is, and only
change the 3 machines with low rates.

> Is there anyway to show "total requests" over the 5 minutes, and not
"average requests" over time?

Yes, you can use 'Gauge' at the options line. The disadvantage is that your
graphs are increasing all the time untill you reset the counter. The result
is an impressive looking sawteeth graph. However from such a graph it is
difficult to read what is going on. I prefer the perminute or perhour
options over the gauge option in cases like this. But that is a personal
view. I can imagine situations where it is more important to impress the
boss than to produce empty graphs that tells you everything is as it should
be  ;-)



Het ministerie van Sociale Zaken en Werkgelegenheid sluit elke
aansprakelijkheid uit in verband met het niet juist, onvolledig of niet
tijdig overkomen van de informatie in deze e-mail.
Aan dit bericht kunnen geen rechten worden ontleend.

Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht niet
voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en de
inhoud van dit bericht te vernietigen.

The ministry of Social Affairs and Employment is not liable for any
incorrect or incomplete transmission of the information in this e-mail or
for any delay in its receipt.
This message shall not constitute any obligations.

This message is intended solely for the addressee.
If you have received this message in error, please inform us immediately and
delete its content.

Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the mrtg mailing list