[collectd] collectd on solaris10 sparcv

2010-11-17 Thread DLSirrine
I have not noticed a package for collectd for solaris10 on the sparc 
architecture. I have compiled from source and am running into issues with 
the network plugin. 

[2010-11-17 11:44:29] network plugin: Cannot set the interface on a 
unicast socket because the the SO_BINDTODEVICE socket option is not 
available on your system.

SO_BINDTODEVICE will not work with Solaris. wondering if there's a 
workaround. ___
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd


Re: [collectd] collectd on solaris10 sparcv

2010-11-17 Thread Florian Forster
Hello anonymous user ;)

On Wed, Nov 17, 2010 at 11:53:29AM -0500, dlsirr...@upsfreight.com wrote:
 SO_BINDTODEVICE will not work with Solaris. wondering if there's a
 workaround. 

You're right, that option is not available on Solaris. I'm assuming you
have the problem within a Server / block. If you need the Interface
option within a Listen / block, could you please elaborate why you
need it?

The common way (and the reason why this option is rarely used) is to let
the operating system chose which interface / source address to use. It
usually does this using the routing table.

An alternative for Solaris might be to add a BindAddress option to
Server / blocks. This is something we would need to add to the
sources, though -- there's no code available currently.

Last but not least: The node name given is passed to getaddrinfo(3). It
*might* be possible to add the interface name to the address, for
example to use IPv6 link-local addresses. I have absolutely no idea if
this would work with other addresses as well, and I'm certain that using
link-local addresses is an interesting (read: bad) idea. But if you
must try, it should work somewhat like this:

  Server fe80::d55f:1534%eth0

Hope this helps.. Regards,
--octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x0C705A15
http://octo.it/


signature.asc
Description: Digital signature
___
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd


Re: [collectd] lpar plugin final patches

2010-11-17 Thread Aurélien Reynaud
Hello Florian,

Le samedi 06 novembre 2010 à 10:01 +0100, Florian Forster a écrit :
 thank you very much for you continued work on the plugin and your
 patience with me ;)

No problem. collectd is an excellent piece of software, very cleanly
written. I must say I'm rather proud my code finally met these
standards... Thank you for your advices!

 I applied your patches and merged the ar/lpar branch to the master
 branch. So the plugin will definitely make it into version 5.0. :)

Great! No more syncing and patching...
Please let me know if you need some more help for the docs (sample
graphs, manpages, etc.)


Regards,

Aurélien Reynaud


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