<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I'm trying to log load from a NSD DNS-server and it wraps the counter
every time we update the zone (every 2 hours). This introduces
unknown-values in the rrd-file. I would like rrdtool to figure out that
a wrap has occured and calculate a correct value. <br>
<br>
Is it me asking to much from rrdtool or have do I need to change the
configuration?<br>
<br>
Rickard.<br>
<br>
<br>
<table style="border-collapse: collapse; width: 284pt;" border="0"
 cellpadding="0" cellspacing="0" width="379">
  <col style="width: 29pt;" width="39"> <col style="width: 72pt;"
 width="96"> <col style="width: 29pt;" width="39"> <col
 style="width: 58pt;" width="77"> <col style="width: 48pt;" span="2"
 width="64"> <tbody>
    <tr style="height: 15pt;" height="20">
      <td style="height: 15pt; width: 29pt;" height="20" width="39">Time</td>
      <td style="width: 72pt;" width="96">UnixTime</td>
      <td style="width: 29pt;" width="39">Zone</td>
      <td style="width: 58pt;" width="77">UnixZone</td>
      <td style="width: 48pt;" width="64">Counter</td>
      <td style="width: 48pt;" width="64">Diff</td>
    </tr>
    <tr style="height: 15pt;" height="20">
      <td class="xl65" style="height: 15pt;" align="right" height="20">11:05</td>
      <td align="right">1173265500</td>
      <td class="xl65" align="right">09:56</td>
      <td align="right">1173261360</td>
      <td align="right">1527837</td>
      <td><br>
      </td>
    </tr>
    <tr style="height: 15pt;" height="20">
      <td class="xl65" style="height: 15pt;" align="right" height="20">11:10</td>
      <td align="right">1173265800</td>
      <td class="xl65" align="right">09:56</td>
      <td align="right">1173261360</td>
      <td align="right">1580265</td>
      <td align="right">52428</td>
    </tr>
    <tr style="height: 15pt;" height="20">
      <td class="xl65" style="height: 15pt;" align="right" height="20">11:15</td>
      <td align="right">1173266100</td>
      <td class="xl65" align="right">09:56</td>
      <td align="right">1173261360</td>
      <td align="right">1634669</td>
      <td align="right">54404</td>
    </tr>
    <tr style="height: 15pt;" height="20">
      <td class="xl65" style="height: 15pt;" align="right" height="20">11:20</td>
      <td align="right">1173266400</td>
      <td class="xl65" align="right">11:19</td>
      <td align="right">1173266394</td>
      <td align="right">971</td>
      <td align="right">-1633698</td>
    </tr>
    <tr style="height: 15pt;" height="20">
      <td class="xl65" style="height: 15pt;" align="right" height="20">11:25</td>
      <td align="right">1173266700</td>
      <td class="xl65" align="right">11:19</td>
      <td align="right">1173266394</td>
      <td align="right">52998</td>
      <td align="right">52027</td>
    </tr>
    <tr style="height: 15pt;" height="20">
      <td class="xl65" style="height: 15pt;" align="right" height="20">11:30</td>
      <td align="right">1173267000</td>
      <td class="xl65" align="right">11:19</td>
      <td align="right">1173266394</td>
      <td align="right">104549</td>
      <td align="right">51551</td>
    </tr>
    <tr style="height: 15pt;" height="20">
      <td class="xl65" style="height: 15pt;" align="right" height="20">11:35</td>
      <td align="right">1173267300</td>
      <td class="xl65" align="right">11:19</td>
      <td align="right">1173266394</td>
      <td align="right">154445</td>
      <td align="right">49896</td>
    </tr>
  </tbody>
</table>
<br>
<br>
<br>
&lt;!-- 2007-03-07 11:10:00 / 1173265800 --&gt; &lt;row&gt;&lt;v&gt;
3.6000000000e-01 &lt;/v&gt;&lt;v&gt; 6.223333<br>
&lt;!-- 2007-03-07 11:15:00 / 1173266100 --&gt; &lt;row&gt;&lt;v&gt;
3.6000000000e-01 &lt;/v&gt;&lt;v&gt; 8.826666<br>
&lt;!-- 2007-03-07 11:20:00 / 1173266400 --&gt; &lt;row&gt;&lt;v&gt;
NaN &lt;/v&gt;&lt;v&gt; NaN &lt;/v&gt;&lt;v&gt; 0.0000000<br>
&lt;!-- 2007-03-07 11:25:00 / 1173266700 --&gt; &lt;row&gt;&lt;v&gt;
3.6333333333e-01 &lt;/v&gt;&lt;v&gt; 1.089700<br>
&lt;!-- 2007-03-07 11:30:00&nbsp; / 1173267000 --&gt; &lt;row&gt;&lt;v&gt;
3.7000000000e-01 &lt;/v&gt;&lt;v&gt; 1.029700<br>
<br>
<br>
filename = "file.rrd"<br>
rrd_version = "0003"<br>
step = 300<br>
last_update = 1173287400<br>
ds[failure].type = "COUNTER"<br>
ds[failure].minimal_heartbeat = 600<br>
ds[failure].min = 0.0000000000e+00<br>
ds[failure].max = 1.4000000000e+04<br>
ds[failure].last_ds = "2651"<br>
ds[failure].value = 0.0000000000e+00<br>
ds[failure].unknown_sec = 0<br>
ds[nxdomain].type = "COUNTER"<br>
ds[nxdomain].minimal_heartbeat = 600<br>
ds[nxdomain].min = 0.0000000000e+00<br>
ds[nxdomain].max = 1.4000000000e+04<br>
ds[nxdomain].last_ds = "250335"<br>
ds[nxdomain].value = 0.0000000000e+00<br>
ds[nxdomain].unknown_sec = 0<br>
ds[recursion].type = "COUNTER"<br>
ds[recursion].minimal_heartbeat = 600<br>
ds[recursion].min = 0.0000000000e+00<br>
ds[recursion].max = 1.4000000000e+04<br>
ds[recursion].last_ds = "0"<br>
ds[recursion].value = 0.0000000000e+00<br>
ds[recursion].unknown_sec = 0<br>
ds[nxrrset].type = "COUNTER"<br>
ds[nxrrset].minimal_heartbeat = 600<br>
ds[nxrrset].min = 0.0000000000e+00<br>
ds[nxrrset].max = 1.4000000000e+04<br>
ds[nxrrset].last_ds = "0"<br>
ds[nxrrset].value = 0.0000000000e+00<br>
ds[nxrrset].unknown_sec = 0<br>
ds[referral].type = "COUNTER"<br>
ds[referral].minimal_heartbeat = 600<br>
ds[referral].min = 0.0000000000e+00<br>
ds[referral].max = 1.4000000000e+04<br>
ds[referral].last_ds = "1812700"<br>
ds[referral].value = 0.0000000000e+00<br>
ds[referral].unknown_sec = 0<br>
ds[total].type = "COUNTER"<br>
ds[total].minimal_heartbeat = 600<br>
ds[total].min = 0.0000000000e+00<br>
ds[total].max = 1.4000000000e+04<br>
ds[total].last_ds = "2116348"<br>
ds[total].value = 0.0000000000e+00<br>
ds[total].unknown_sec = 0<br>
ds[success].type = "COUNTER"<br>
ds[success].minimal_heartbeat = 600<br>
ds[success].min = 0.0000000000e+00<br>
ds[success].max = 1.4000000000e+04<br>
ds[success].last_ds = "0"<br>
ds[success].value = 0.0000000000e+00<br>
ds[success].unknown_sec = 0<br>
rra[0].cf = "AVERAGE"<br>
rra[0].rows = 600<br>
rra[0].pdp_per_row = 1<br>
rra[0].xff = 5.0000000000e-01<br>
rra[0].cdp_prep[0].value = NaN<br>
rra[0].cdp_prep[0].unknown_datapoints = 0<br>
rra[0].cdp_prep[1].value = NaN<br>
rra[0].cdp_prep[1].unknown_datapoints = 0<br>
rra[0].cdp_prep[2].value = NaN<br>
rra[0].cdp_prep[2].unknown_datapoints = 0<br>
rra[0].cdp_prep[3].value = NaN<br>
rra[0].cdp_prep[3].unknown_datapoints = 0<br>
rra[0].cdp_prep[4].value = NaN<br>
rra[0].cdp_prep[4].unknown_datapoints = 0<br>
<br>
<br>
</body>
</html>