[collectd] Collectd opens UDP port

Amos Shapira amos.shapira at gmail.com
Sat Oct 2 22:41:14 CEST 2010


That's the way UDP works.

On 02/10/2010 11:09 PM, "Enrico Tröger" <enrico.troeger at uvena.de> wrote:

Hi Guys,

collectd is great! Thanks for this software!

I'm using collectd on various servers to collect
all the data and send it via the "network" plugin
to a central instance where the data is stored.

The central instance obviously opens an UDP port to
receive the collected data from the "clients".
But for some reason, even the clients open an UDP
port. It seems the port number is chosen randomly
as it changes on every restart:

[13:03:25] root at hefi (0): ~# netstat -tuplen | grep collectd
udp 0 0 0.0.0.0:33549 0.0.0.0:* 0 762935590   32399/collectd
[13:03:36] root at hefi (0): ~# /etc/init.d/collectd restart
Restarting statistics collection and monitoring daemon: collectd.
[13:03:41] root at hefi (0): ~# netstat -tuplen | grep collectd
udp 0 0 0.0.0.0:52165 0.0.0.0:* 0 762945183   3310/collectd

I'm wondering if this intended and/or others
can confirm this behaviour.

For testing, I disabled the "network" plugin
and then collectd won't open the port. So,
it seems strictly related to the "network"
plugin.

Here is my config of one of the clients:

<Plugin network>
       <Server "<ip-des-masters>" "<port>">
               SecurityLevel "Encrypt"
               Username "collectd"
               Password "<passwort>"
       </Server>
</Plugin>


collectd version: 4.10.1-1+squeeze1~bpo50+1 (Debian Stable / Backports)


Any ideas?


Regards,
Enrico

--
Get my GPG key from http://www.uvena.de/pub.asc

_______________________________________________
collectd mailing list
collectd at verplant.org
http://mailman.verplant.org/listinfo/collectd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20101003/83301d19/attachment.htm>


More information about the collectd mailing list