[mrtg] Graphing, Too Values on the same graph

Eric Hernandez navyeh at yahoo.com
Fri Aug 10 22:39:04 CEST 2007

Yes that Works, Very well Actually.
  Thanks very much

Dan Dooré <dan at dandoore.com> wrote:
  Eric Hernandez wrote:

> I am trying to Combine two graphs. I have two scripts that poll some F5 
> Load balancers for the average time of an http and https session. The 
> scripts output as shown below.
> I have made many attempts to combine them but when i do it either adds 
> the values together or graphs them seperately but not correctly. I am 
> injecting three zeros after the values. 

If you combine the two queries into one script and then output both 
values to give the following:


And then it will populate the [I]n and [O]ut values, so your MRTG config 
would be something like:

Title[bigipmeanhttp_and_https]: Average Time of http and https sessions
PageTop[bigipmeanhttp_and_https]:   Average Time of http and https 
sessions MilliSeconds
MaxBytes[bigipmeanhttp_and_https]: 1000000
YLegend[bigipmeanhttp_and_https]: Milliseconds
ShortLegend[bigipmeanhttp_and_https]: Average Time of http and https 
LegendI[bigipmeanhttp_and_https]: Average Time of http Session
LegendO[bigipmeanhttp_and_https]: Average Time of https Session
Options[bigipmeanhttp_and_https]: gauge,growright,nopercent


Moody friends. Drama queens. Your life? Nope! - their life, your story.
 Play Sims Stories at Yahoo! Games. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20070810/0dcbb40f/attachment.html 

More information about the mrtg mailing list