If you want to display the absolute number of errors at each polling interval since the counters were reset, the gauge option is what you want.
If you want to graph the differences between the current and previous value, multiply the target by the number of seconds between polling periods (300 in most cases). Because of "jitter" in the polling periods, this won't be completely accurate in any one period, but will be very accurate over longer periods of time. Mrtg will then retrieve the current value, subtract the previous value, multiply by 300, divide by the number of seconds since the previous poll (~300), and round to the nearest integer (or does it truncate fractional values?). Jerry -----Original Message----- From: Pete Templin [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 21, 2003 2:14 PM To: Brander, Eric; [EMAIL PROTECTED] Subject: [mrtg] Re: options help According to the documentation, "In the absence of 'gauge' or 'absolute' options, MRTG treats variables as a [sic] counters and calculates the difference between the current and the previous value and divides that by the elapsed time between the last two readings to get the value to be plotted." Therefore, the gauge option WILL cause MRTG to divide by the elapsed time, which is not what I want. Or am I simply mistaken? Pete Templin IP Network Engineer Tex-Link Communications [EMAIL PROTECTED] (210) 892-4183 -----Original Message----- From: Brander, Eric [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 21, 2003 2:11 PM To: [EMAIL PROTECTED] Subject: [mrtg] Re: options help The gauge option is exactly what you need. Eric Brander ACS Texas CHIP Account Sr. Communications Engineer - Information Systems Department 512.336.3331 Eric dot Brander at acs-inc dot com -----Original Message----- From: Pete Templin [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 21, 2003 10:46 AM To: [EMAIL PROTECTED] Subject: [mrtg] options help What are the correct options for a counter that doesn't reset after you check it (i.e. MRTG will need to subtract the previous reading) AND should be displayed as the number of events that occurred (i.e. MRTG should not divide by the number of seconds that have occurred since the last poll). Unless I'm sorely mistaken, neither gauge nor absolute applies here. I'm trying to graph the number of InErrors and OutErrors on an interface, and be able to display the number of errors, not the error rate per second. Thanks, Pete Templin IP Network Engineer Tex-Link Communications [EMAIL PROTECTED] (210) 892-4183 -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
