[collectd] Collectd and SSH tunneling

Stefano Bovo s.bovo at infinito.it
Mon Nov 12 16:16:49 CET 2007


Hi, I'm tryng to use collectd with a SSH tunnel to the server but it doesn't
work.

I've configured the network plugin of the client's collectd.conf  this way:

 

<Plugin network>  

        Server "localhost" "4444"

</Plugin>

 

The server network plugin configuration is:

 

        Listen "serverIP" "25826"

 

The ssh tunnel is done between the localhost port 4444 and the default port
on server (25826).

 

I've tried to analize the system calls by strace but I didn't find any
errors: when client needs to contact server, it use sendto sys call without
problem:

 

31280 sendto(3, "\0\0\0\rmyclient2\0\0\1\0\f\0\0\0\0G8c-\0\7\0\f\0\0\0"...,
1016, 0, {sa_family=AF_INET, sin_port=htons(4444), sin_addr=inet_addr("

127.0.0.1")}, 16 <unfinished ...> 

31280 <... sendto resumed> )            = 1016

 

Any ideas about it?

 

Thanks

 

Stefano

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.verplant.org/pipermail/collectd/attachments/20071112/d3c6c491/attachment-0001.htm 


More information about the collectd mailing list