[mrtg] Re: graph last value with current?

Alex van den Bogaerdt alex at ergens.op.het.net
Mon Sep 22 22:41:53 MEST 2003


On Mon, Sep 22, 2003 at 02:26:14PM -0500, John wrote:

> What i want to get the last value recieved and add it to the current
> value that it just recieved, then graph that as a gauge so i have a 
> ever increasing graph. BTW this is for manager fluff. 
> like "$BW bandwidth saved to date!" or something like that.

You mean you need the opposite of what a normal counter accomplishes?

You get some kind of value starting at zero each time you poll (just
like ABSOLUTE) and need to graph the total (as with GAUGE) ?

It is probably best to gather the numbers using a separate script,
add them to the grand total and feed this grand total to MRTG
(using the external program interface).

This being said, I think you really should use another program, such
as excel, in stead of creating a workaround using MRTG.

HTH
Alex
-- 
http://www.googlism.com/index.htm?ism=alex+van+den+bogaerdt&type=1

--
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
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list