[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

Software support and information
It is currently Mon Dec 22, 2025 7:54 am

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu May 25, 2006 4:50 am 
Offline
User

Joined: Thu May 25, 2006 4:33 am
Posts: 6
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


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Thu May 25, 2006 9:36 am 
Offline
User

Joined: Thu May 25, 2006 4:33 am
Posts: 6
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


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Thu May 25, 2006 10:51 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
(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').

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group