[rrd-users] Time Shift on Trend Graph
Chris Mason
chris at netnix.org
Tue Jun 25 17:05:39 CEST 2013
Hi,
I suppose the other option, if I am unable to achieve what I wanted, is to
only draw the trend line from the start of the actual data.
I use the following logic to draw a trend line for data source "DS1":
VDEF:DS1Slope=DS1,LSLSLOPE
VDEF:DS1Int=DS1,LSLINT
CDEF:DS1Trend=DS1,POP,COUNT,DS1Slope,*,DS1Int,+,0,INF,LIMIT
LINE1:DS1Trend#808080::dashes';
Is it possible to restrict the trend line to start when my data started
instead of at the beginning of the graph?
I would assume that any value within DS1 that was before my data would be
classified as unknown - is my DS1Trend CDEF removing the unknowns?
Thanks,
Chris
On 23 June 2013 13:17, Chris Mason <chris at netnix.org> wrote:
> Hi,
>
> I have the following graph which displays daily maximums over a period of
> a year:
>
> http://netnix.org/graph.png
>
> I have added a trend line to the graph using the Least Square Lines
> method. I am currently shifting the graph by 3 months using the following
> method:
>
> -s -1y+3months -e now+3months
>
> This works fine, but I wanted to try and shift the graph so the start of
> the graph is at the left most point and the graph is only ever displayed in
> the first 9 month period. It is easy if I only ever had more than 9 months
> worth of data, but if I only had 3 months worth of data, then I am looking
> for the graph to still start from the left with only the left 3 months
> being used?
>
> I am looking to try and do something similar to the "Filesystem
> Utilization and Predicted Trends" graph in the RRDTOOL gallery where in the
> picture, the graph is using the left hand side and the trends go into the
> right hand side.
>
> Any pointers?
>
> Thanks,
> Chris
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20130625/8629a559/attachment.htm
More information about the rrd-users
mailing list