I see this in the rrdtool_rpn man page under the VDEF section:
MAXIMUM, MINIMUM, AVERAGE <>
Return the corresponding value, MAXIMUM and MINIMUM also return the first
occurrence of that value in the time component.
What is the “time component” referred to here? Is there a way to reference it?
The reason I’m asking is because I’m trying to determine during which time of
day traffic is the busiest - the so-called “busy hour”. My approach was to:
1. Force step=3600 to make it hourly averages
2. Get the hourly MAX values from the DEF
3. Determine the LTIME of the first occurence of MAX
So this is what I tried (paraphrasing a bit to simplify the rpn):
But seems that the VDEF is not valid with the LTIME added… I get “Unknown
function MAXIMUM,LTIME” error. :-/
Any idea how I can find the time value for the hour at which MAXIMUM was for
the VDEF? This is rrdtool-1.4.8, I haven’t tried with the latest rrdtool yet,
but just want to know if I’m on the right track of if there is a better way...
Thanks in advance. :)
rrd-users mailing list