[rrd-users] strftime and TREND
Alex van den Bogaerdt
alex at ergens.op.het.net
Fri Nov 30 20:43:39 CET 2007
On Thu, Nov 29, 2007 at 08:16:38PM +0200, Petteri Matilainen wrote:
> Any ideas concerning my last post? Maybe someone should explain to me
> exactly how CDEF with trend works, because I can't get a TREND line at
> all if I define CDEF:outavg=Outside,86400,TREND. What I need is average
> curve over 24 hrs, 1 week and 1 month.
I'm not sure if trend is what you need. Why I'm not sure: because it
is not clear to me what you are asking for.
Trend works. Maybe it's not what you want, or maybe you've found a bug.
> I also need to ask how to print a vdef and time associated with it. I've
> been reading the manpage over and over but I can't figure out why
> PRINT:gav:"%5.4lf":%s gives an error:
>
> ERROR: Garbage ':%s' after command:
> PRINT:gav:%5.4lf:%s
>
> How do I define this strftime without error? Thanks in advance.
Where does the documentation tell you to combine rates and time?
Print one or the other, and it should work.
Keep in mind that printing vdef timestamps isn't as mature as the
rest of rrdtool yet.
--
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/
More information about the rrd-users
mailing list