[mrtg] Re: default (not gauge) no updating
Koelstra, J. (Jan)
JKoelstra at MINSZW.NL
Mon Nov 13 09:46:17 MET 2006
Mike,
Since the .logfile gets updated with each poll I think you don't use rrdtool.
But that is not the problem.
Your counters increase only with a small amount per poll.
By default MRTG calculates the rate per second. With a 5 minute poll cycle a counter that increases less than 300 will have a rate of less than 1 per second....
You can try the "perminute" or even "perhour" option to get a graph.
HTH,
jan
-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Mike
Sent: Saturday, November 11, 2006 10:26 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] default (not gauge) no updating
All,
I am trying to configure MRTG (2.14.7) using rrdtool (1.2.12). All of the gauge graphs are working great, but one that is supposed to use the default "counter" method never updates. The gauge option missing is the only difference for this one graph, and if I put the option in, then the graph updates and works (although the data is obviously wrong, since the value read via SNMP is a counter).
Every time MRTG runs, the values are polled correctly. Since all of the values are read from the same device, and this graph works ok when using gauge option, this does not seem like a lifetime/timestamp problem. The problem is that with every update, the new counter values are just pushed up to the latest timestamp, and all the old values are set to zero.
An example (just first few lines of the .log file):
1163279100 63966 30760
1163279100 0 0 0 0
1163278801 0 0 0 0
1163278800 0 0 0 0
1163278500 0 0 0 0
1163278200 0 0 0 0
1163277900 0 0 0 0
1163277600 0 0 0 0
1163277300 0 0 0 0
and a bit later:
1163280001 64007 30763
1163280001 0 0 0 0
1163279701 0 0 0 0
1163279700 0 0 0 0
1163279400 0 0 0 0
1163279100 0 0 0 0
1163278800 0 0 0 0
1163278500 0 0 0 0
1163278200 0 0 0 0
1163277900 0 0 0 0
later still:
1163280301 64026 30764
1163280301 0 0 0 0
1163280001 0 0 0 0
1163280000 0 0 0 0
1163279700 0 0 0 0
1163279400 0 0 0 0
1163279100 0 0 0 0
1163278800 0 0 0 0
1163278500 0 0 0 0
1163278200 0 0 0 0
Thanks in advance for any suggestions or hints.
--
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
_________________________________________________________
Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht te verwijderen. De staat aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband houdt met risico's verbonden aan het elektronisch verzenden van berichten.
_________________________________________________________
This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. The state accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages.
_________________________________________________________
--
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