[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
https://steveshipway.org/forum/

Stacking graphs
https://steveshipway.org/forum/viewtopic.php?f=2&t=3944
Page 1 of 1

Author:  dspcarlos [ Tue Sep 22, 2009 10:59 am ]
Post subject:  Stacking graphs

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

Author:  stevesh [ Tue Sep 22, 2009 11:19 am ]
Post subject:  Re: Stacking graphs

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.

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