[mrtg] Graphing WebSite Hits, Values that Increment infinitely
Anson Rinesmith
arinesmith at bigrivertelephone.com
Mon Aug 13 20:34:25 CEST 2007
The problem is you are using "gauge" in your Options.
Remove that and you should be fine.
gauge
Treat the values gathered from target as 'current status' measurements and
not as ever incrementing counters. This would be useful to monitor things
like disk space, processor load, temperature, and the like ...
In the absence of 'gauge' or 'absolute' options, MRTG treats variables as a
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.
_____
From: mrtg-bounces at lists.oetiker.ch [mailto:mrtg-bounces at lists.oetiker.ch]
On Behalf Of Eric Hernandez
Sent: Monday, August 13, 2007 1:06 PM
To: mrtg at lists.oetiker.ch
Subject: [mrtg] Graphing WebSite Hits, Values that Increment infinitely
Hello Mrtg Group,
I have several things i am trying to graph like website hits, ssl faliures
etc....
my scripts output in the following way.
./bigip1_totalhttpreqs.sh
81988983
0
./bigip1_sslhandshake_failures.sh
1434
0
The problem is the graphs just keep increasing they dont graph the change
from the last poll.
How do i configure it so that, it will graph just the changes from each
poll?
Below are my configs
Thanks, Eric
Target[bigipsslfailures]:
`/etc/mrtg/scripts/bigip1_sslhandshake_failures.sh`
Title[bigipsslfailures]: BiG IP SSL Handshake Failures
PageTop[bigipsslfailures]: <h1>BiG IP SSL Handshake Failures </h1>
MaxBytes[bigipsslfailures]: 10000
YLegend[bigipsslfailures]: SSL Failures
ShortLegend[bigipsslfailures]: SSL Failures
LegendI[bigipsslfailures]: SSL Failures;
LegendO[bigipsslfailures]:
Options[bigipsslfailures]: gauge,growright,nopercent
Colours[bigipsslfailures]: RED#bb0000,GREEN#006600,BLUE#1000ff,VIOLET#ff00ff
Target[bigiptotalhttpreq]: `/etc/mrtg/scripts/bigip1_totalhttpreqs.sh`
Title[bigiptotalhttpreq]: BiGIP Total HTTP Request
PageTop[bigiptotalhttpreq]: <h1>BiGIP Total HTTP Request </h1>
MaxBytes[bigiptotalhttpreq]: 10000000000
YLegend[bigiptotalhttpreq]: Total HTTP Request
ShortLegend[bigiptotalhttpreq]: Total HTTP Request
LegendI[bigiptotalhttpreq]: Total HTTP Request;
LegendO[bigiptotalhttpreq]:
Options[bigiptotalhttpreq]: gauge,growright,nopercent
Colours[bigiptotalhttpreq]:
GREEN#006600,BLUE#1000ff,VIOLET#ff00ff,RED#bb0000
_____
Luggage? GPS? Comic books?
Check out fitting gifts
<http://us.rd.yahoo.com/evt=48249/*http:/search.yahoo.com/search?fr=oni_on_m
ail&p=graduation+gifts&cs=bz> for grads at Yahoo! Search.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20070813/c8cd9dcd/attachment.html
More information about the mrtg
mailing list