[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/bbcode.php on line 112: 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 112: 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 112: 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 - Aggregate graphs from multiple sources

Cheshire Cat Computing

Software support and information
It is currently Sat Aug 13, 2022 1:07 am

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Thu Jan 22, 2004 1:19 pm 
Offline
User

Joined: Thu Jan 22, 2004 1:15 pm
Posts: 3
Location: Seattle
Hello,

I need to set up an aggregate total graph that has sources on different routers. Basically, I want a total of all ingress and egress traffic on a network with mulitple connections. I have read through the FAQ, and the groups and haven't found a similar problem. Is there a way to do this with routers2.cgi, and can you point me in the proper direction?

Much obliged,

-=Scott


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Thu Jan 22, 2004 6:08 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Thu Jan 22, 2004 8:09 pm 
Offline
User

Joined: Thu Jan 22, 2004 1:15 pm
Posts: 3
Location: Seattle


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Thu Jan 22, 2004 9:53 pm 
Offline
User

Joined: Thu Jan 22, 2004 1:15 pm
Posts: 3
Location: Seattle


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Fri Nov 05, 2004 8:03 am 
Offline
User

Joined: Fri Nov 05, 2004 7:54 am
Posts: 2
Location: Iowa
Hello,

I am attempting to create a graph that combines two interfaces on a single router. I attempted to follow your instructions in this topic, but so far have been only able to create a new graph that contains ONLY graphs of the two interfaces I'm trying to combine. What I've done so far is...

created border.cfg (new .cfg not processed by mrtg)
I included the following text in border.cfg

Include: router1.cfg
routers.cgi*InMenu[_]: no
routers.cgi*Graph[10.10.10.10_20]: combined total
routers.cgi*Graph[10.10.10.10_30]: combined
routers.cgi*InMenu[combined]: yes

As I mentioned, I do get a new graph, but it contains a separate graph for each of the above interfaces. Also, neither routers.cgi*InMenu command seems to work. The border.cfg file I created is included in the left hand column. Any help would be appreciated. I'm a bit of a newbie with routers2, but have been running mrtg for many years.

Thanks

RD


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Fri Nov 05, 2004 9:15 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
OK, you're doing it a bit wrong.

You only need to do this Include method if the Targetnames you're trying to include are spread over multiple .cfg files. In your case, both the targets are in the same .cfg file, so you can put the Userdefined in there as well.

So, first, get rid of this border.cfg. You don't need to do this trick, because you are not making a virtual .cfg over multiple existing .cfg files.

Now edit the router1.cfg, and (after the Target[] definitions) add the 'routers.cgi*Graph[targetname]: combined withtotal' lines. Dont bother about the InMenu lines, since a userdefined is in the menu by default.

Now, when you view the routers1.cfg Device, you willsee a new item in the Targets menu called 'combined', which will have these two targets on the same graph (ie, 4 lines). There will also be a 'total' line with the total of these 4. You can use other 'noo', 'noi', 'withaverage', 'withtotal', 'nodetails', and so onto change the options for the userdefined graph.

HTH

_________________
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  
 
 Post subject:
PostPosted: Fri Nov 05, 2004 11:30 am 
Offline
User

Joined: Fri Nov 05, 2004 7:54 am
Posts: 2
Location: Iowa
Thanks for the reply. As I mentioned, I am somewhat of a newbie and still have not got this to work. I have added the following lines into the router1.cfg file.

routers.cgi*Graph[10.10.10.10_20]: combined withtotal
routers.cgi*Graph[10.10.10.10_30]: combined withtotal

I'm not seeing an interface named combined for the routers1.cfg device. Is there something in the routers2.conf file I need to check?

Thanks

Rick


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Fri Nov 05, 2004 1:53 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
No, it should work like this. Can you post/email your .cfg file so that I can check? Remember that the Graph[] targetnames must of course match the targetnames you want on the conbined graph.

_________________
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  [ 8 posts ] 

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 31 guests


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