Hi,<br><br>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 ;-)<br>Well here is the "not prettied up patch" against 4.2.1.<br>
<br>Please forgive the added DEBUG statements and the stripped ntohs & htons.<br><br>The Gauge-Problem you mentioned might also stem from rrdtool.c. <br><br>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 '07.<br>
<br>Have a nice weekend<br>-oli<br><br><div class="gmail_quote">On Thu, Feb 28, 2008 at 11:17 PM, Florian Forster <<a href="mailto:octo@verplant.org">octo@verplant.org</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Oliver, hi Eric,<br>
<br>
after getting my hands on a Sparc machine myself, I fixed the _sending_<br>
part of the network plugin to use `memcpy' to get around alignment<br>
issues. I didn't have time to take care of the receiving part yet, but<br>
I'll do that before releasing 4.2.5.<br>
<br>
While I was at it I found that there was an endian-issue when sending<br>
gauge values, such as the battery voltage or the system load.<br>
<br>
The changes have been merged into the following branches of the Git<br>
repository:<br>
collectd-4.2<br>
collectd-4.3<br>
master<br>
I'd appreciate it if you could give them a try. Especially the changes<br>
to the configure script are, uhm, interesting, due to m4.. :/<br>
<br>
Regards,<br>
-octo<br>
<br>
P. S.: If you don't want to get involved with Git you can simply<br>
download a daily snapshot from Sebastian's site,<br>
<<a href="http://snapshots.tokkee.org/collectd/" target="_blank">http://snapshots.tokkee.org/collectd/</a>>. I've just pushed the<br>
changes, so you should probably wait for 2008-02-29 version.<br>
<div><div></div><div class="Wj3C7c">--<br>
Florian octo Forster<br>
Hacker in training<br>
GnuPG: 0x91523C3D<br>
<a href="http://verplant.org/" target="_blank">http://verplant.org/</a><br>
</div></div><br>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.6 (GNU/Linux)<br>
<br>
iD8DBQFHxzMTOIGYkRnzlcMRArZIAJkBX+Bn53eruLo+7tIV31HnVMUNYACaAm+4<br>
47UEZlBYxX3LtibIasXEPE0=<br>
=8jWR<br>
-----END PGP SIGNATURE-----<br>
<br></blockquote></div><br>