[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 - Monthly and Daily Total
Cheshire Cat Computing
http://www.steveshipway.org/forum/

Monthly and Daily Total
http://www.steveshipway.org/forum/viewtopic.php?f=15&t=3843
Page 1 of 1

Author:  tilleythetoon [ Tue Jul 21, 2009 9:57 pm ]
Post subject:  Monthly and Daily Total

First of let me say what a fantastic piece of code works perfectly for my needs.

My boss wants a report on the total amount of traffic from our linux webservers for the previous day/month and week.

I have set up extended time in the routers2.conf, but when I click on the yesterday graph, it gives me data for the last 24 hours i.e 09:50am to 09:50am similarly the last week graph runs from last Tuesday until today.

So my first question is how do I set the yesterday graph up so it displays data for yesterday 00:00 - 23:59 and the last week graph to display data for monday to sunday?

Secondly I've looked in to the archive feature as this sounds interesting would this be more appropriate for what I need?

Mark

Author:  stevesh [ Wed Jul 22, 2009 10:17 am ]
Post subject:  Re: Monthly and Daily Total

If you want to see totals for a specific period, IE 00:00 - 23:59, rather than a rolling last 24hours, you'll need to use the RRD Archiving. Then, you can go to the archive for the appropriate day and view the totals for that... this is what we do here.

Set up the rrd-archive script to run every night at 23:55 (for example) and routers2 will automatically spot the archives and make the date dropdown available to you. We keep archives for 3 months at daily level, then monthly for 2 years, then yearly' you may not have enough disk space to do this as it can get BIG.

Future versions may instead work by extending the RRD but this is very problematic when it comes to sanity checks... and it is not easy with the current way the graphs are specified.

Author:  tilleythetoon [ Thu Jul 23, 2009 2:58 am ]
Post subject:  Re: Monthly and Daily Total

Thanks Steve

I will set this up to day and check back in a couple of days time.

Mark

Author:  ChristianKrausse [ Thu Jun 16, 2011 12:26 am ]
Post subject:  Re: Monthly and Daily Total

Hello,

i want to print out Monthly and Daily Total like i coul do with mrtg-traffic-sum a long time ago.

It seems to me that i am too blind to see se simple sollution, @ http://oss.oetiker.ch/rrdtool/forum.en. ... -td5990330
Steve wrote like it is an built in function.

How to enable it?
Or mayby where could it be accidentally disabled by myself?

Author:  ChristianKrausse [ Thu Jun 16, 2011 12:48 am ]
Post subject:  Re: Monthly and Daily Total

F*** I found it, in routers2.conf :oops:

I had to uncomment: the percentile....
percentile = yes

###
enabling
showtotal = yes
seems not enough :D

Author:  stevesh [ Thu Jun 16, 2011 10:50 am ]
Post subject:  Re: Monthly and Daily Total

This is because it is actually the same code function that calculates the percentile and totals. Originally, this was a noticeable CPU overhead and so was disabled by default; now with later RRDTools and faster CPUs it is not significant. The default Routers2 install now has percentile=yes included.

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