[collectd] memcached plugin not working on solaris

Amit Gupta amit.gupta221 at gmail.com
Mon Jun 29 17:03:42 CEST 2009


Hi,

I have enabled collectd's memcached plugin on Solaris 10 but I keep
getting the following error in the collectd logs:
memcached: getaddrinfo (127.0.0.1, 11211): service name not available
for the specified socket type

As a result of which rrd files aren't  getting generated. It seems
that getaddrinfo funcation is failing on Solaris 10 since we aren't
passing ai_hints data structure to it which sets the socket type.

The patch with the fix is attached.

Regards
Amit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: collectd-4.7.0-mine-memcached.patch
Type: text/x-patch
Size: 3552 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20090629/d68e0b93/attachment.bin 


More information about the collectd mailing list