[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 - make total line equal to total peak in custom graph
Cheshire Cat Computing
https://steveshipway.org/forum/

make total line equal to total peak in custom graph
https://steveshipway.org/forum/viewtopic.php?f=15&t=4186
Page 1 of 1

Author:  bonnara [ Wed Jun 02, 2010 12:18 am ]
Post subject:  make total line equal to total peak in custom graph

I am trying to create a total bandwidth custom graph which adds the bandwidth from my 2 wan routers together to give me the total bandwidth used.

I have the following config

routers.cgi*ShortName[TotalBW]: Total Bandwidth
routers.cgi*Description[TotalBW]: Total Bandwidth on All WAN Circuits
routers.cgi*Title[TotalBW]: Total Bandwidth
routers.cgi*Graphstyle[TotalBW]: stackmirror


under both interfaces I have
routers.cgi*Graph[X.X.X.X_X]: TotalBW total

In the 6 hour graph it works perfect
but in the graphs that show peaks the graph seems to show only average, the total adds the averages, but the individual interfaces are showing the peak values making the individuals higher than the total . ( see attached)

Is there a way to get the total and the graph to show the total peaks as this is the info I really need

Attachments:
Weekly.jpg
Weekly.jpg [ 250.36 KiB | Viewed 10312 times ]
6hour.jpg
6hour.jpg [ 211.55 KiB | Viewed 10315 times ]

Author:  stevesh [ Sat Jun 05, 2010 3:45 pm ]
Post subject:  Re: make total line equal to total peak in custom graph

Use the extended option 'maximum'. This will make the custom graph show the Peak (maximum) lines rather than the average.

Author:  bonnara [ Wed Jun 09, 2010 10:12 pm ]
Post subject:  Re: make total line equal to total peak in custom graph

hey, you're good :lol:

Graphs are now working perfectly, thanks for your help

Author:  dga205 [ Thu Jun 17, 2010 7:46 am ]
Post subject:  Re: make total line equal to total peak in custom graph

Hi.
What is the extended option 'maximum'? How can I use it?

It is posible to show a custom graph, whith multiples host, but in the style of the graph are equal to a normal graph?
I whish to show one line of the total of the input and in other line the total of the output

Author:  stevesh [ Fri Jun 18, 2010 9:50 am ]
Post subject:  Re: make total line equal to total peak in custom graph

Check the documentation for more details.

You can change the graph style with routers.cgi*GraphStyle[] -- use styles like stack, mirror, range, stackmirror.

The extended options can be set with routers.cgi*Options[] -- if you're defining a userdefined graph or summary page with routers.cgi*Graph or routers.cgi*Summary then you can add certain options to the end of these lines as well.

The extended option 'maximum' only applies to a userdefined graph, and makes the component Target lines use the Maximum (peak) rather than the Average. For Daily graphs this makes no differrence, but for the other time frames with Peak lines you'll see things get higher. Note that this can be misleading if you have a Stacking style as sum(max)>max(sum)

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