[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing :: View topic - Summing & Averaging 4000+ Interfaces
Cheshire Cat Computing
http://www.steveshipway.org/forum/

Summing & Averaging 4000+ Interfaces
http://www.steveshipway.org/forum/viewtopic.php?f=15&t=892
Page 1 of 1

Author:  MrPaul [ Thu May 25, 2006 4:50 am ]
Post subject:  Summing & Averaging 4000+ Interfaces

I'm graphing a whole bunch of interfaces (PVCs) but I need to graph the total (sum) and average usage for these. I would like to see the in and out counters info in the legend as well.

I think I can create a graph for this that will pull the data from all my RRDs but I'm missing how to do this.

Before I go through and start changing CFG files I wanted to run it by here first. Do I just need to add the following to each interface.

routers.cgi*Graph[3mbit_rt-bras.aur_19_2_129]: 3Mbit_Total
routers.cgi*Graph[3mbit_rt-bras.aur_19_2_176]: 3Mbit_Total
routers.cgi*Graph[3mbit_rt-bras.aur_21_3_140]: 3Mbit_Total
<repeated many times>

then at the end add this
routers.cgi*Title[3Mbit_Total]: Total Usage

Author:  MrPaul [ Thu May 25, 2006 9:36 am ]
Post subject: 

OK, I've been playing and I'm pretty close.

routers.cgi*Graph[3mbit_rt-bras.aur_19_2_129]: 3Mbit_Total total nodetails
routers.cgi*Graph[3mbit_rt-bras.aur_19_2_176]: 3Mbit_Total total nodetails
routers.cgi*Graph[3mbit_rt-bras.aur_21_3_140]: 3Mbit_Total total nodetails
<repeated many times>

then at the end add this (may be optional...haven't tried without it).
routers.cgi*Title[3Mbit_Total]: Total Usage

However, I would only like to have the total and average lines. I don't care to see all the individual lines. I've added "noo noi" to the routers.cgi*Graph lines above but that removes all the lines on the graph including the total & average line and the legend is empty too.

If it matters, I'm using routers2.cgi v2.16

Author:  stevesh [ Thu May 25, 2006 10:51 am ]
Post subject: 

(Rats, my internet glitched during posting and I lost my last reply...)

OK, basically, you have it correct now. The 'nodetails' will only suppress the legend for the various lines. The 'nolegend' option is like 'nodetails' but will also suppress any Total and Average legends. noo and noi will cause out or in data to be completely ignored (so you can get an 'incoming only' graph, for example). The keyworks 'total' and 'average' will add a total and average line to the graph, respectively. There is currently no way to suppress the individual lines on the graph. I am now testing a 'nolines' option to do this (2.17b2)

You can set a GraphStyle of 'stack' for the userdefined graph to use stacked bars instead of individual lines.

The Title line is optional, but if not used, you will get a default title (something like 'userdefined graph 1').

Page 1 of 1 All times are UTC + 12 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/