# [mrtg] Re: MRTG: value without division per time interval (no gauge)

Fri Sep 12 14:56:20 MEST 2003

```Warning, several folks on this list will rapidly flame you, and tell you that the gauge and/or absolute options are "clearly" the right solution for your problem.  They're wrong.

What I've had to do (aside from recovering from the unwarranted flame burns) is unfortunately multiply the target by 300 and leave both options off.  This loses the exactness of doing it the right way, as there's no guarantee that the poll interval is exactly 300 seconds on this target.  It also screws up horribly if a poll (or more) is missed, but oh well.

What's needed is an option ("events"?) that calculates the difference between the previous poll and the current poll, and simply displays that.  Default calculates the difference and divides by the interval.  Gauge shows the current poll and doesn't divide by the interval.  Absolute shows the current poll divided by the interval.  "Newoption" would calculate the difference but not divide by the interval.

Pete Templin
Senior Staff Engineer
(210) 892-4183

-----Original Message-----
From: Christoph Werner [mailto:christoph-w at gmx.at]
Sent: Friday, September 12, 2003 1:24 AM
To: MRTG MRTG
Subject: [mrtg] MRTG: value without division per time interval (no gauge)

Hi,

I want to show a graph containing values which are not divided by the time
interval (eg. 300 sec). The value is incrementing so the gauge-option I think
is not suitable.

I want mrtg to show a number containing the delta between the last
snmp-request and the current one but I do not want this to be divided by the time
interval between.

Is this possible?

Regards,
Chris

PS: The Factor-option is also not really the best I think as this option
cannot  reflect the real interval between the snmp-requests as I cannot
guarentee the interval time (depends on eg. cpu,link-utilization).

--
--------------------------------------------------
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post

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