> However, from what I appear to be reading this isn't something which is
> easy to achieve as the "rrdtool first" function doesn't return the first
> non-unknown value, but the start of the RRA.
So, what about making this a two-pass solution.
First don't graph anything, just use VDEF:t1=yourdata
> Thanks to Ryan's suggestion I came up with the following:
>
Sorry, I meant to say Karl's suggestion, but thanks to Ryan as well :)
Chris
___
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
Hi,
Thanks to Ryan's suggestion I came up with the following:
Instead of using "rrdtool dump" which dumps the entire RRD and is hard to
process, I used "rrdtool fetch" and specified the correct time period to
select the appropriate RRA (I use +3months as I want at least 3 months of
white space on
Hello,
To graph all data you collect, you need three things :
- max range for data
- first time with data for series (need the first things).
- last time with data for series.
you can have the first one with this command line :
rrdtool first /path/to/your.rra --rraindex x
with "x" is the index o
Hi Karl
while this is not cheap, it's fairly easy. I've used it a
> couple of times since I needed the first valid entry as well.
> It takes a few seconds - depending on the size of the rrd -
> and spits out the timestamp of the first non-NaN entry.
>
>
> cd /tmp
> rrdtool dump yourfile.rrd | csp
Am 02.07.2013 14:26, schrieb Chris Mason:
>
> So, if no one has an obvious easy solution to this
Hi Chris,
while this is not cheap, it's fairly easy. I've used it a
couple of times since I needed the first valid entry as well.
It takes a few seconds - depending on the size of the rrd -
and spits
Hi Alex,
I mentioned some docs to read, and suggested that you rephrase the problem.
> Unless you do, my guess is that nobody is going to be able to help.
>
> I also guess that once you are actually breaking the problem down into
> smaller bits and pieces, and are trying to describe what goes wron
- Original Message -
From: "Chris Mason"
To: "Alex van den Bogaerdt"
Cc:
Sent: Tuesday, July 02, 2013 9:55 AM
Subject: Re: [rrd-users] Time Shift on Trend Graph
> Hi,
>
> Thanks for your response, but I have since stumbled across this post:
&g
> Sent: Monday, July 01, 2013 12:27 PM
> Subject: Re: [rrd-users] Time Shift on Trend Graph
>
>
> > Hi,
> >
> > I am assuming "rrdtool last" returns the actual last time because when
> you
> > add new data to the RRD, it rotates the RRD and the
- Original Message -
From: "Chris Mason"
To:
Sent: Monday, July 01, 2013 12:27 PM
Subject: Re: [rrd-users] Time Shift on Trend Graph
> Hi,
>
> I am assuming "rrdtool last" returns the actual last time because when you
> add new data to the RRD, it ro
the point of it rolling over
( round robin ) but you would get your feature.
HTH,
-Ryan
From: Chris Mason
To: "rrd-users@lists.oetiker.ch"
Sent: Monday, July 1, 2013 3:27 AM
Subject: Re: [rrd-users] Time Shift on Trend Graph
Hi,
I am assuming "rrdtool last" ret
Hi,
I am assuming "rrdtool last" returns the actual last time because when you
add new data to the RRD, it rotates the RRD and the stuff that was
previously at the beginning interval is pushed out - to always maintain the
same length and size of an RRD - you are always adding to the end?
I am sta
Hi,
I have been through the documentation and I can't seem to find a way for
the graph to grow from the left instead of the right.
So, I thought I might try and do it manually by fetching the "first" entry
from the rrd - similar to the "last" function.
However, as I should have expected, although
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,*
14 matches
Mail list logo