[rrd-users] rrdtool updatev only gives return_value=0 on RasPi

Julian Heinrich julric at julric.de
Tue Jan 21 11:08:25 CET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I'm using rrdtool 1.4.7 on a RaspberryPi (debian wheezy-package 1.4.7-2).

I created a database for my weatherstation with 8 fields:

###
rrdtool create data_weather.rrd --step=300 \
DS:temperature_bmp:GAUGE:60:-273:5000 \
DS:temperature_dht:GAUGE:60:-273:5000 \
DS:pressure:GAUGE:60:U:U \
DS:humidity:GAUGE:60:U:U \
DS:light_level:GAUGE:60:U:U \
DS:nitrogen_dioxide:GAUGE:60:U:U \
DS:carbon_monoxide:GAUGE:60:U:U \
DS:volume:GAUGE:60:U:U \
RRA:AVERAGE:0.5:1:3200 \
RRA:AVERAGE:0.5:6:3200 \
RRA:AVERAGE:0.5:36:3200 \
RRA:AVERAGE:0.5:144:3200 \
RRA:AVERAGE:0.5:1008:3200 \
RRA:AVERAGE:0.5:4320:3200 \
RRA:AVERAGE:0.5:52560:3200 \
RRA:AVERAGE:0.5:525600:3200 \
RRA:MIN:0.5:1:3200 \
RRA:MIN:0.5:6:3200 \
RRA:MIN:0.5:36:3200 \
RRA:MIN:0.5:144:3200 \
RRA:MIN:0.5:1008:3200 \
RRA:MIN:0.5:4320:3200 \
RRA:MIN:0.5:52560:3200 \
RRA:MIN:0.5:525600:3200 \
RRA:MAX:0.5:1:3200 \
RRA:MAX:0.5:6:3200 \
RRA:MAX:0.5:36:3200 \
RRA:MAX:0.5:144:3200 \
RRA:MAX:0.5:1008:3200 \
RRA:MAX:0.5:4320:3200 \
RRA:MAX:0.5:52560:3200 \
RRA:MAX:0.5:525600:3200
###

When trying to insert data into the fields with

rrdtool updatev data_weather.rrd N:28:29:986:39:65778:9942:97872:110

I only get

return_value = 0

as a result.

rrdtool info gives

###
filename = "data_weather.rrd"
rrd_version = "0003"
step = 300
last_update = 1390298285
header_size = 20128
ds[temperature_bmp].index = 0
ds[temperature_bmp].type = "GAUGE"
ds[temperature_bmp].minimal_heartbeat = 60
ds[temperature_bmp].min = -2,7300000000e+02
ds[temperature_bmp].max = 5,0000000000e+03
ds[temperature_bmp].last_ds = "29"
ds[temperature_bmp].value = NaN
ds[temperature_bmp].unknown_sec = 185
ds[temperature_dht].index = 1
ds[temperature_dht].type = "GAUGE"
ds[temperature_dht].minimal_heartbeat = 60
ds[temperature_dht].min = -2,7300000000e+02
ds[temperature_dht].max = 5,0000000000e+03
ds[temperature_dht].last_ds = "30"
ds[temperature_dht].value = NaN
ds[temperature_dht].unknown_sec = 185
[...]
###
(other fields look equally)

Another RRD with only one field for electricity-measurement works
without any problem on my RaspberryPi for nearly one year.

Does anybody have an idea, what I am doing wrong?

Thanks a lot

julric
- -- 
Ich unterstütze die E-Mail Verschlüsselung und Verifizierung mit PGP.
Hinweise unter http://www.heise.de/security/dienste/pgp/
PGP in meinem Mailprogramm: http://enigmail.mozdev.org/

- --
julric at julric.de: http://www.julric.de/downloads/gpg/0x13850C6D.asc
julric at julric.com: http://www.julric.de/downloads/gpg/0xC81E4E0A.asc
julian at jheinrichk.de: http://www.julric.de/downloads/gpg/0x0C547925.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAlLeRxkACgkQt89K3ROFDG1IpgCfdjo3u/d09LyPFI/BU4k7GFUU
gLEAn2sE3Xt/DIZpD5eOHQc2Fh1lsrL3
=mZIG
-----END PGP SIGNATURE-----



More information about the rrd-users mailing list