[prev in list] [next in list] [prev in thread] [next in thread] 

List:       collectd
Subject:    Re: [collectd] collectd network protocol architecture dependent?
From:       Florian Forster <octo () verplant ! org>
Date:       2009-10-21 7:55:37
Message-ID: 20091021075537.GX11119 () verplant ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Hi Josef,

On Tue, Oct 20, 2009 at 05:41:23PM +0200, Josef Liška wrote:
> But, rrds generated directly on openwrt are not readable on x86_64,
> and converting using rrdtool dump to xml and then restore back is just
> not practical.

yes, RRD-files are architecture dependent and unfortunately this isn't
going to change with the next version of RRDtool either :/

> The next thing I tried was to send data over internet using collectd's
> native udp network protocol.
> RRD's (and csv files) are generated on server, but values are
> completly broken.

I think an endian issue is very likely here. Since you're running
collectd on OpenWrt, it was probably compiled on another architecture.
In that case it's impossible for the configure script to find out the
way floating point values are stored in memory *on the target platform*.
You therefore have to specify that when cross-compiling collectd. The
appropriate configure options are documented under "Crosscompiling" in
the file "README".

Regards,
—octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/

["signature.asc" (application/pgp-signature)]

_______________________________________________
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic