Evening all,<br><br>I'm trying to use RRDTool for a network monitoring application I'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'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'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't input a value for a 5 minute interval then I'd want NaN to be recorded.<br>
<br>I'm sure this is all due to my fundamental misunderstanding of the complexities of the RRA aggregation!<br><br>Thanks,<br><br>Sam<br>