[rrd-users] Update not working
linux at thehobsons.co.uk
Wed Apr 13 22:54:11 CEST 2011
>Ik know everybody has problems with updates not working, but i have been
>buzy a few days and i can't get it to work. I have created te following a
>rrdtool create /root/mde.rrd --step 300 \
>With this database i want to add a value every 5 minutes (300 seconds).
>I have a cronjob which runs every 5 minutes. It adds a value with the
>rrdtool update /root/mde.rrd N:20
>But if i use RRDtool fetch i only get NaN. So... what am i doing wrong?
Probably you need to change your heartbeat value. You currently have
this set to 300, so if two updates are more than 300 seconds apart
then the data becomes unknown - from the previous update to the
current one. Given the slight variation in run times, many of your
updates will be more than the heartbeat apart and so you'll have many
gaps in the data.
Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.
More information about the rrd-users