<div dir="ltr">Hi Karl<div class="gmail_extra"><br>while this is not cheap, it's fairly easy. I've used it a<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
couple of times since I needed the first valid entry as well.<br>
It takes a few seconds - depending on the size of the rrd -<br>
and spits out the timestamp of the first non-NaN entry.<br>
<br>
<br>
cd /tmp<br>
rrdtool dump yourfile.rrd | csplit - '%<database>%+1' '/<database>/+1' '{*}'<br>
grep -Ehivm 1 '<row>(<v> *NaN *</v>)+</row>' xx?? | sed 's:^.* / \([0-9]\{10\}\) .*:\1:' | sort -n | head -1<br>
rm -f xx??<br></blockquote><div><br></div><div style>Perfect, Thank you!</div><div style><br></div><div style>However, I need to impact the performance implication on doing this across multiple RRDs.</div><div style>Anyone know, how likely the format of a "dump" is going to change between different versions of rrdtool?</div>
<div style><br></div><div style>Thanks,</div><div style>Chris</div><div><br></div><div> </div></div></div></div>