Alex,<br><br>Thanks for the advice - you were spot on. Writing U's on every iteration would require far too much load (there's several hundred thousand RRDs here), so I've incorporated some simple logic to test to see if a value was written on the last iteration. If not, then a U is written prior to writing the actual data. Seems to work well so far...<br>
<br>Thanks again,<br><br>Sam<br><br><br><div><span class="gmail_quote">On 09/03/2008, <b class="gmail_sendername">Alex van den Bogaerdt</b> <<a href="mailto:alex@ergens.op.het.net">alex@ergens.op.het.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sun, Mar 09, 2008 at 08:09:03PM +0000, Sam Crawford wrote:<br> > Evening all,<br> ><br> > I'm trying to use RRDTool for a network monitoring application I'm receiving<br> > data from. The application gives me a bytes/sec reading for active hosts<br>
> every 5 minutes (note: not all hosts, only active ones).<br> ><br> > My problem is that I might receive a burst of data for one interval and then<br> > nothing else for a long time. However, I still want the rrd to record and<br>
> graph it. But I can't seem to get this working!<br> <br> <br> <br>RRDtool is not about numbers, it's about rates during an interval.<br> <br> Don't look at just one update. Always look at two consecutive updates.<br>
You will be asking RRDtool to set a rate, valid for the entire interval<br> between the two timestamps.<br> <br> Howver, if your updates are too far apart (where too far is defined by<br> heartbeat) the rate becomes unknown.<br>
<br> Solution for you:<br> <br> Always update every five minutes. If you did not get a rate from your<br> device, update using "U" instead of a number.<br> <br> HTH<br> <br>--<br> Alex van den Bogaerdt<br> <a href="http://www.vandenbogaerdt.nl/rrdtool/">http://www.vandenbogaerdt.nl/rrdtool/</a><br>
<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">https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users</a><br>
</blockquote></div><br>