[rrd-users] Re: Average calculations for working hours only, but 7x24 stored
einari at f-prot.com
Sat Nov 12 15:59:06 MET 2005
On Sat, Nov 12, 2005 at 10:03:46AM +0100, Ralf Kruedewagen wrote:
> Good morning,
> 2) Is there any tricky RPN expression to do that, maybe embedded in a small
> script for matching day of a week and hours to UNIX timestamps ?
> Advantage: Filter expression can be changed later. Interactive calculations
> possible (web form). And, I could also filter out time ranges which are
> defined as "scheduled downtime".
> From RPN tutorial I know that it is possible to define something for a single
> timeframe. But for a monthly average I need to filter out a lot of "unwanted"
> time ranges. With SQL this would be no problem, but with RRDtool I have my
Well... one way of looking at it, would be to say... "hmm... Let's keep
the RRD expression as simple as I can make it", and instead use some kind
of a wrapper (for example, in perl or perl+SQL) to dynamically write the propper
CDEFs for you?
(Left as an excercise for the reader :-)
EinarI at f-prot.com
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
More information about the rrd-users