[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 - howto change the duration of a graph ?
Cheshire Cat Computing
http://www.steveshipway.org/forum/

howto change the duration of a graph ?
http://www.steveshipway.org/forum/viewtopic.php?f=2&t=1565
Page 1 of 1

Author:  babydr [ Thu Apr 24, 2008 1:47 pm ]
Post subject:  howto change the duration of a graph ?

fe: a daily graph is ~ 1.5 days in length (34 hours) at least things are in my present graph sizes .

Is there a way to change the 'duration' or 'interval' of the graphed data ?
Maybe that isn't so intuitive , the time range of the data graphed then .

Tia , babydr(JimL)

Author:  stevesh [ Thu Apr 24, 2008 2:36 pm ]
Post subject:  Re: howto change the duration of a graph ?

The interval (how many minutes corresponds to a data point) is set by the RRD.

Daily = 5min, Weekly = 30min, Monthly = 2hr, Yearly = 1day.

While you can create extra RRAs, I have no way of knowing what's been added that can be used and so I stick with the default RRAs that are automatically generated by standard MRTG.

The graph time width is also defined by the RRA. Previously, there would be 400 data points (now its 800ish) so that corresponded (at the intervals) to a day, a week, a month and a year.

People keep asking for the abilty to pick a random time window and get the graph for this. While it would be difficult but possible, you would not get a good graph since the data would not necessarily be available at the appropriate granularity. If (for example) you ask for a graph from 1am - 2am three days ago, you'd only get a single data point from the weekly RRA and so a straight horizontal line... You cant graph a higher granularity than is available in an RRA for that time. If you look more than 2 days in the past, then the best granularity is 30mins, and so on.

Author:  babydr [ Fri Apr 25, 2008 5:50 am ]
Post subject:  Re: howto change the duration of a graph ?

Thank you for the refresher , I do understand (sometimes ;-)) , What I am looking for is the ability (you are probably aware) to set my 'Daily' graph to be exactly 24Hours (or Less) . Instead of the present ~34 hours .
This is to help me align BW graphs to Smokepings graphs .
Actually I need is more detail within a time frame and shortening the time frame can get me the detail I require .

So I think what you are saying is that the daily graphs are 'set' by the interval that the data gets recorded ?
My Question is , can I set the number of the intervals being displayed in a graph ?

Tia , JimL

Author:  stevesh [ Mon Apr 28, 2008 11:03 am ]
Post subject:  Re: howto change the duration of a graph ?

The routers2 script currently sets the graph data width to be 400x(granularity), which is 400x5min = 33 hours. You can change this by modifying the routers2 code in the make_graph function... This is picked because in earlier versions of MRTG, the RRDTool RRAs were all set to be length 400 - now they are by default set to something more like 700 which means we can have the 'yesterday' graphs and so on.

Also, it sometimes helps to have the graph slightly longer than 1 day so you can see what the upcoming daily pattern might be.

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