[collectd] collectd 4.2.4 network issues with Solaris 8

Oliver Tuschhoff o.tuschhoff at googlemail.com
Fri Feb 29 17:41:26 CET 2008


first of all i'm very sorry i didn't get around to giving you guys a good
patch. I acctually wanted to "pretty" it up before i send it in but reality
didn't match my hopes ;-)
Well here is the "not prettied up patch" against 4.2.1.

Please forgive the added DEBUG statements and the stripped ntohs & htons.

The Gauge-Problem you mentioned might also stem from rrdtool.c.

The collectd Version compiled with this patches workes wonderfully on Sol 8
& 10 with/without Zones on Sun Hardware like V245, V440 & T2000 since Nov

Have a nice weekend

On Thu, Feb 28, 2008 at 11:17 PM, Florian Forster <octo at verplant.org> wrote:

> Hi Oliver, hi Eric,
> after getting my hands on a Sparc machine myself, I fixed the _sending_
> part of the network plugin to use `memcpy' to get around alignment
> issues. I didn't have time to take care of the receiving part yet, but
> I'll do that before releasing 4.2.5.
> While I was at it I found that there was an endian-issue when sending
> gauge values, such as the battery voltage or the system load.
> The changes have been merged into the following branches of the Git
> repository:
>  collectd-4.2
>  collectd-4.3
>  master
> I'd appreciate it if you could give them a try. Especially the changes
> to the configure script are, uhm, interesting, due to m4.. :/
> Regards,
> -octo
> P. S.: If you don't want to get involved with Git you can simply
>       download a daily snapshot from Sebastian's site,
>       <http://snapshots.tokkee.org/collectd/>. I've just pushed the
>       changes, so you should probably wait for 2008-02-29 version.
> --
> Florian octo Forster
> Hacker in training
> GnuPG: 0x91523C3D
> http://verplant.org/
> Version: GnuPG v1.4.6 (GNU/Linux)
> 47UEZlBYxX3LtibIasXEPE0=
> =8jWR
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.verplant.org/pipermail/collectd/attachments/20080229/42e846c9/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: network-for-sparc.patch
Type: application/octet-stream
Size: 9385 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080229/42e846c9/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rrdtool-for-sparc.patch
Type: application/octet-stream
Size: 895 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080229/42e846c9/attachment-0001.obj 

More information about the collectd mailing list