[collectd] Unix Sock Plugin Issue

Mahendra Kutare mahendra.kutare at gmail.com
Wed Jul 29 05:20:57 CEST 2009


On Tue, Jul 28, 2009 at 11:15 PM, Mahendra Kutare <mahendra.kutare at gmail.com
> wrote:

> Hi All,
>
> I am using collectd 4.5.3 on RHEL5 with Xen 3.1.2.
>
> I have the following configuration in /etc/collectd.conf file -
>
> LoadPlugin unixsock
>
> 400 <Plugin unixsock>
> 401     SocketFile "/var/run/collectd-unixsock"
> 402     SocketGroup "collectd"
> 403     SocketPerms "0775"
> 404 </Plugin>
>
> I created this file /var/run/collectd-unixsock and it has permissions -
>
> [root at samoa2 collectd 11:14 PM]$ ls -l /var/run/collectd-*
> *-rw-rw-rw- 1 root root 0 Jul 28 22:43 /var/run/collectd-unixsock
> *
> I also created group *collectd* and can be seen as -
>
> [root at samoa2 collectd 11:11 PM]$ cat /etc/group | grep collectd
> collectd:x:2731:
>
> When I start the collectd it shows up in the /var/lib/collectd.log file the
> following error -
>
>  [2009-07-28 23:07:44] unixsock plugin: bind failed: Address already in use
>
> Is there anything missing in configuration of unixsock plugin ?
>

I also tried adding Port param in

400 <Plugin unixsock>
401     SocketFile "/var/run/collectd-unixsock"
           Port "7634"
402     SocketGroup "collectd"
403     SocketPerms "0775"
404 </Plugin>

but it still says in the log file -

[2009-07-28 23:18:15] Plugin `unixsock' did not register for value `Port'.
[2009-07-28 23:18:15] unixsock plugin: bind failed: Address already in use
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.verplant.org/pipermail/collectd/attachments/20090728/dc6e3df5/attachment-0001.htm 


More information about the collectd mailing list