[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [php-weathermap] [0.96test1]Aggregate functions won't support - for a DS



E. Versaevel wrote:
Node target (cpu usage in this case) lacks support for - (to ignore 1 value)
D'oh. Didn't think about that. The aggregate stuff was hacked in pretty quickly, as you have found.

Thanks for the report (and the others, too!), Erik... I'll try and get these together into a test2 release sometime soon. I've added a few new features that I wanted while editing maps in the last few days, too.

I'm not sure what the best way to proceed is with the aggregation functions - I hadn't considered either --step or -w when I started. I suppose there should be an rrd_options variable too, since the alternative is to use rrdinfo to try and figure it out for each .rrd, which seems pretty ugly. It would also mean that I'd need to actually parse the date, to figure out what -w needs to be :-) Maybe that's not a bad thing... it would allow for special dates like "1st of this month midnight", which can't be done with rrdtool directly, as far as I know.

Howie

Copyright 1994-2005, by Howard Jones. howie@thingy.com