<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
I have spent a number of days re-reading the docs, searching the web, and searching old email archives but I can't find the answer to this. I have been using RRD for a long time but this issue has me stumped.<BR> <BR>I have an rrd that records a percent value from 0 - 100. When I use a CDEF with LIMIT 0,100 I get a number of NaNs but I can't figure out why. The data shows the DEF value as 100 for those periods.<BR> <BR>Any thoughts? <BR> <BR>I ran an XPORT to see the original DEF calue and the CDEF, here is what I am seeing:<BR> <BR>rrdtool xport DEF:ds450=450.rrd:450:AVERAGE CDEF:limit450=ds450,0,100,LIMIT XPORT:ds450:"source" XPORT:limit450:"mod"<BR><br><?xml version="1.0" encoding="ISO-8859-1"?><BR><xport><br> <meta><br> <start>1324954500</start><br> <step>300</step><br> <end>1325040900</end><br> <rows>289</rows><br> <columns>2</columns><br> <legend><br> <entry>source</entry><br> <entry>mod</entry><br> </legend><br> </meta><br> <data><br> <row><t>1324954500</t><v>1.0000000000e+02</v><v>1.0000000000e+02</v></row><br> <row><t>1324954800</t><v>1.0000000000e+02</v><v>1.0000000000e+02</v></row><br> <row><t>1324955100</t><v>1.0000000000e+02</v><v>1.0000000000e+02</v></row><br> <row><t>1324955400</t><v>1.0000000000e+02</v><v>1.0000000000e+02</v></row><br> <row><t>1324955700</t><v>1.0000000000e+02</v><v>NaN</v></row><br> <row><t>1324956000</t><v>1.0000000000e+02</v><v>1.0000000000e+02</v></row><br> <row><t>1324956300</t><v>1.0000000000e+02</v><v>1.0000000000e+02</v></row><br> <row><t>1324956600</t><v>1.0000000000e+02</v><v>1.0000000000e+02</v></row><br> <row><t>1324956900</t><v>1.0000000000e+02</v><v>NaN</v></row><br> <row><t>1324957200</t><v>1.0000000000e+02</v><v>1.0000000000e+02</v></row><br> <row><t>1324957500</t><v>1.0000000000e+02</v><v>NaN</v></row><br> <row><t>1324957800</t><v>1.0000000000e+02</v><v>1.0000000000e+02</v></row><br> <row><t>1324958100</t><v>1.0000000000e+02</v><v>1.0000000000e+02</v></row><br> <row><t>1324958400</t><v>1.0000000000e+02</v><v>1.0000000000e+02</v></row><br> <row><t>1324958700</t><v>1.0000000000e+02</v><v>1.0000000000e+02</v></row><br> <row><t>1324959000</t><v>1.0000000000e+02</v><v>1.0000000000e+02</v></row><br> <row><t>1324959300</t><v>1.0000000000e+02</v><v>1.0000000000e+02</v></row><br> <row><t>1324959600</t><v>1.0000000000e+02</v><v>1.0000000000e+02</v></row><br> <row><t>1324959900</t><v>1.0000000000e+02</v><v>1.0000000000e+02</v></row><br> <row><t>1324960200</t><v>1.0000000000e+02</v><v>1.0000000000e+02</v></row><br> <row><t>1324960500</t><v>1.0000000000e+02</v><v>1.0000000000e+02</v></row><br> <row><t>1324960800</t><v>1.0000000000e+02</v><v>NaN</v></row><br> <row><t>1324961100</t><v>1.0000000000e+02</v><v>NaN</v></row><br> <row><t>1324961400</t><v>1.0000000000e+02</v><v>NaN</v></row><br> <row><t>1324961700</t><v>1.0000000000e+02</v><v>1.0000000000e+02</v></row><br> <row><t>1324962000</t><v>1.0000000000e+02</v><v>1.0000000000e+02</v></row><br> <row><t>1324962300</t><v>1.0000000000e+02</v><v>1.0000000000e+02</v></row><br> <row><t>1324962600</t><v>1.0000000000e+02</v><v>1.0000000000e+02</v></row><br> <row><t>1324962900</t><v>1.0000000000e+02</v><v>1.0000000000e+02</v></row><BR> <BR> <BR>Thanks,<BR> <BR> Tim<BR>                                            </div></body>
</html>