From mark at itbox.co.za Mon May 4 17:46:24 2020 From: mark at itbox.co.za (mark) Date: Mon, 4 May 2020 17:46:24 +0200 Subject: [rrd-users] Getting data from one rrd and using it to update another. Message-ID: <722ff9ce-c386-0fbb-dcef-8625340aefaa@itbox.co.za> Hi, I have rrdtool running on an embedded system collecting data once per second and storing it in two RRA's, one once a second for 60 seconds, and one once per minute for 3 hours. This runs rrdtool 1.0.50 ,which is the latest version available for the platform. It doesn't have the rrdcache daemon. It runs on a ramdisk so there's no actual storage involved. I would like to periodically fetch the latest one minute average and insert it into an rrd on another system for longer term analysis. What is the simplest way to achieve this? I've tried dumping the rrd from the embedded system and parsing out the last line of data. There are 9 DS's and they are on the fourth last line of the dump. Unfortunately updating an rrd with numbers like 2.855e+04 doesn't seem to work. I also feel that I'm doing far too much parsing and there must surely be an easier way, I just don't see it. Any suggestions? Thanks, -- Mark Ter Morshuizen