[rrd-users] Issue: only the first value gets into the database

Simon Hobson linux at thehobsons.co.uk
Sun Aug 10 16:16:33 CEST 2014


spookyx <paul at infocon.ro> wrote:

> rrdtool update wazers_ro.rrd
> N:${USERS[1]}:${USERS[2]}:${USERS[3]}:${USERS[4]}:${USERS[5]}:${USERS[6]}:${USERS[7]}:${USERS[8]}:${USERS[9]}

Create a short test script that does updates with fixed values - both for time and inputs. We have absolutely no idea when you ran the command, nor what the contents of your array were. If we don't know what went in, we cannot even start to guess at what should come out.
Also, as already pointed out, you need enough updates to have values for a complete period of time before you'll get data out.

Go to http://www.vandenbogaerdt.nl/rrdtool/ and in particular see the tutorial on Rates, normalizing and consolidating - it'll help a lot.



More information about the rrd-users mailing list