[mrtg] Re: Total number per 5 minute average
Dowling, Steve
Steve.Dowling at det.nsw.edu.au
Thu May 25 01:52:31 MEST 2006
Neil,
If you want to plot the number of faxes sent+received per interval, try
letting mrtg do its thing but then multiplying the result by 300 (the
number of seconds in the polling interval). Maybe something like:
Target[total_faxes]: `/path/to/yourscript` * 300
SD
-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]
On Behalf Of Tim Lucia
Sent: Thursday, 25 May 2006 7:29 AM
To: 'Neil Doody'; mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Total number per 5 minute average
You want a gauge, i.e.,
Options[target]: gauge
-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]
On Behalf Of Neil Doody
Sent: Wednesday, May 24, 2006 5:04 PM
To: 'mrtg at list.ee.ethz.ch'
Subject: [mrtg] Total number per 5 minute average
Hi, I am trying to do something slightly different with MRTG.
Basically I have a script which gives the total faxes in and total faxes
out as a number which is always incrementing, so if you check the number
at 10pm it will say 2000 faxes, then the number at 5 mins past 10 it
will say 2010 faxes have been sent in total. What I would like is to
take the total number and plot the difference at 5 minute intervals,
therefore showing at every 5 minutes how many faxes were sent.
Basically something like this :-
To start, at 10:00 there have been a total of 2000 faxes sent.
At 10:05 there have been a total of 2010 faxes sent, plot 10 (2010 -
2000) on the graph at 5 mins.
At 10:10 there have been a total of 2015 faxes sent, plot 5(2015 - 2010)
on the graph at 10 mins.
I know the normal procedure is to find the difference between values but
then the number is divided by the time elapsed, I don't want this
division to happen.
--
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
--
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
**********************************************************************
This message is intended for the addressee named and may contain
privileged information or confidential information or both. If you
are not the intended recipient please delete it and notify the sender.
**********************************************************************
--
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