Evening all,<br><br>I&#39;m trying to use RRDTool for a network monitoring application I&#39;m receiving data from. The application gives me a bytes/sec reading for active hosts 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 nothing else for a long time. However, I still want the rrd to record and graph it. But I can&#39;t seem to get this working!<br><br>To illustrate:<br>
<br>rrdtool create --start 1205088000 test.rrd --step 300 DS:InOctets:GAUGE:600:0:25000000 DS:OutOctets:GAUGE:600:0:25000000 RRA:AVERAGE:0.5:1:600<br>rrdtool update test.rrd -t InOctets:OutOctets 1205088300:220041:100<br>
rrdtool fetch test.rrd AVERAGE -r 300 --start 1205088000 --end 1205088900<br><br>I&#39;m inputting one value and trying to read the value out, but the fetch gives me NaN for the time I input the data. All I want to be able to do is input a value every 5 minutes and read it back. If I don&#39;t input a value for a 5 minute interval then I&#39;d want NaN to be recorded.<br>
<br>I&#39;m sure this is all due to my fundamental misunderstanding of the complexities of the RRA aggregation!<br><br>Thanks,<br><br>Sam<br>