[rrd-users] Problem with different architectures

Andreas Maus a.maus at science-computing.de
Thu Aug 23 14:12:26 CEST 2007


On Thu, Aug 23, 2007 at 01:24:24PM +0200, Fredrik W?nglund wrote:
Hi.

> I have a setup where i run RRDTool on remote devices that measures and 
> collects various data. The rrd-files are then rsync'ed regulary to a 
> central server whith a web-interface for presentation.
O.K.

> Now i am testing a new remote device, an ASUS WL-500gp with OpenWRT 
> KAMIKAZE (7.06) and RRTTool 1.2.11-1.
> the problem is that I can't use the rrd-files on the central server 
> because they '.. was created on other architecture'.
Thats right. AFAIK the ASUS WL-500gP has an MIPS based architecture.
And I guess your "central server" is an "ordinary" x86 or x86_64 based
system.

> I know I can dum the rrd's on the remote machine to XML and den restore 
> them on the central machine, but the ASUS-device has limited CPU-power 
> and I dont want to put any more load on it. Is there any way to convert 
> the rrd's on the central machine?
AFAIK you can't. I don't know how much CPU power a dump needs but it
shouldn't bee too much. Instead dumping and rsyncing the xml file to
the central server you can setup a listener via netcat on the central
server that reads the data and restores them. On the Asus you only
have to call rrdtool dump on the asus and pipe the XML through netcat
to the server.

Alternatively you may write a program that runs on the server that
receives the data and writes directly to a rrd file.

(I monitor my WRT54GL in such a way. I wrote a server that listens
for connections and on the WRT I build the datasets and send
them to the server which updates the rrd file on the server.
I can share the code if you are interested.)

HTH,

Andreas Maus.

-- 
Dipl.-Ing. Andreas Maus             science+computing ag
System Administration               Hagellocher Weg 73
tel.: +49 7071 9457 671             72070 Tuebingen, Germany
fax: +49 7071 9457 411              www.science-computing.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070823/6fc990d6/attachment.bin 


More information about the rrd-users mailing list