<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Arial" size="2"><span style="font-size:10pt;">
<div>Hello,<br>
<br>
Im web-scraping a stock-market page which is only open daytime, thus my rrd-database will have huge gaps in the data. I've been trying to make a CDEF that uses old values and tries to inter/extrapolate the gaps, but to no avail.<br>
<br>
Can anyone shed some light regarding converting U to a straight line between the previous and last successful rrd data?<br>
<br>
I create the rrd with the following;<br>
rrdtool create stocklol.rrd --start $starttime -s 300\<br>
DS:latest:GAUGE:600:0:U \<br>
DS:volume:COUNTER:600:0:U \<br>
RRA:AVERAGE:0.5:1:8640 \<br>
RRA:AVERAGE:0.5:4:52560<br>
<br>
The data is being updated 0800 -> 1800 CET, all other values are NAN / U </div>
<div> </div>
<div>Google and other sources doesnt hint on this, as far as i could tell. Alot of refrences to making unknown into 0, but that's absolutely not what i want. I checked the CDEF and RPN docs refrenced in rrdgraph pages.</div>
<div> </div>
<div>Sincerely,</div>
<div>Joachim</div>
<div> </div>
<div> </div>
<div> </div>
</span></font>
</body>
</html>