[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 - Stacking graphs

Cheshire Cat Computing

Software support and information
It is currently Mon Nov 10, 2025 7:06 pm

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Stacking graphs
PostPosted: Tue Sep 22, 2009 10:59 am 
Offline
User

Joined: Wed Apr 29, 2009 10:15 am
Posts: 8
I tried the examples on how to stack several graphs into a single one with no success. given these 2 targets, can you tell me how could I merge them?

Target[syn_1]: .1.3.6.1.4.1.2021.8.1.101.9&.1.3.6.1.4.1.2021.8.1.101.9:community@IP_Address:::::2
Title[syn_1]: syn
PageTop[syn_1]: <h1>syn</h1>
MaxBytes[syn_1]: 10000000
ShortLegend[syn_1]: syn/min
YLegend[syn_1]: syn/min
LegendI[syn_1]:
LegendO[syn_1]:
Legend1[syn_1]: syn
Legend2[syn_1]:
Options[syn_1]: growright,nopercent,perminute,noi
routers.cgi*Summary[syn_1]: Summary2Cols nodetails
routers.cgi*ShortDesc[Summary2Cols]: Summary2Cols

Target[syn_ack]: .1.3.6.1.4.1.2021.8.1.101.10&.1.3.6.1.4.1.2021.8.1.101.10:community@IP_Address:::::2
Title[syn_ack]: syn-acks
PageTop[syn_ack]: <h1>syn-acks</h1>
MaxBytes[syn_ack]: 10000000
ShortLegend[syn_ack]: syn-ack/min
YLegend[syn_ack]: syn-ack/min
LegendI[syn_ack]:
LegendO[syn_ack]:
Legend1[syn_ack]: syn-ack
Legend2[syn_ack]:
Options[syn_ack]: growright,nopercent,perminute,noi
routers.cgi*Summary[syn_ack]: Summary2Cols nodetails
routers.cgi*ShortDesc[Summary2Cols]: Summary2Cols

Of course the real desired graph has more than 2 OIDs. But If I can merge these 2 that would be enough.

Thnks


Top
 Profile Send private message  
 
 Post subject: Re: Stacking graphs
PostPosted: Tue Sep 22, 2009 11:19 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
routers.cgi*Graph[syn_1]: mygraph
routers.cgi*Graph[syn_ack]: mygraph

This will define the new userdefined graph, 'mygraph', which consists of 2 lines (the 'out' from each of the 2 Targets, since they both have noi set). You can add the options 'total' or 'average' if you want to have an additional Total or Average line (unlikely).

To stack the lines, then use:

routers.cgi*GraphStyle[mygraph]: stack

You can also use various other options, such as

routers.cgi*Title[mygraph]: Combined Graph
routers.cgi*ShortDesc[mygraph]: Combined
routers.cgi*Icon[mygraph]: interface2-sm.gif

and so on to customise this new graph.

For some examples, see the demo system at http://www.steveshipway.org/cgi-bin/routers2.pl and look at the CPU graphs for the Linux servers, which use stacking userdefined graphs. You can see the CFG file contents by using the special link in the Targets menu.

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

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 15 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