<div dir="ltr">Hi,<div><br></div><div>Thanks for your response, but I have since stumbled across this post: <a href="http://oss.oetiker.ch/rrdtool/forum.en.html#nabble-td1514381">http://oss.oetiker.ch/rrdtool/forum.en.html#nabble-td1514381</a></div>
<div><br></div><div style>I am trying to do the same thing as was discussed in this post (i.e. have the first function actually return the first point in the RRA with an actual data value).</div><div style><br></div><div style>
In simple terms, I am trying to make my graph grow from the left instead of the right and I am looking for a <TIME> to pass "rrdtool graph -s <TIME>" to achieve this.</div><div style><br></div><div style>
I am going to look at storing the create time of the RRD and comparing it with the response from first to see what is the latest value - however, I would still need to round my create time up to the next RRA interval otherwise I might have a bit of white space at the beginning.</div>
<div style><br></div><div style>Chris</div><div style><br></div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 1 July 2013 23:12, Alex van den Bogaerdt <span dir="ltr"><<a href="mailto:alex@vandenbogaerdt.nl" target="_blank">alex@vandenbogaerdt.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
----- Original Message -----<br>
From: "Chris Mason" <<a href="mailto:chris@netnix.org">chris@netnix.org</a>><br>
To: <<a href="mailto:rrd-users@lists.oetiker.ch">rrd-users@lists.oetiker.ch</a>><br>
</div><div class="im">Sent: Monday, July 01, 2013 12:27 PM<br>
Subject: Re: [rrd-users] Time Shift on Trend Graph<br>
<br>
<br>
</div><div class="im">> Hi,<br>
><br>
> I am assuming "rrdtool last" returns the actual last time because when you<br>
> add new data to the RRD, it rotates the RRD and the stuff that was<br>
> previously at the beginning interval is pushed out - to always maintain<br>
> the<br>
> same length and size of an RRD - you are always adding to the end?<br>
><br>
> I am starting to conclude, after getting the feeling that I am talking to<br>
> myself, that I can't obtain the point in my RRD when I first entered data?<br>
> Would it not be the first non-unknown value in the data source and can I<br>
> obtain this easily to use this to determine the start time of my graph?<br>
<br>
</div>Never tried it myself, but in the doc I find: rrdfirst Return the date of<br>
the first data sample in an RRA within an RRD<br>
<br>
And if that does not work, You could try to use a VDEF function for this.<br>
Not surprisingly you would need "FIRST" again. Print it's time component.<br>
<br>
If these two are not what you're after, then you will need to rephrase your<br>
problem.<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
rrd-users mailing list<br>
<a href="mailto:rrd-users@lists.oetiker.ch">rrd-users@lists.oetiker.ch</a><br>
<a href="https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users" target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users</a><br>
</div></div></blockquote></div><br></div>