On Sun, 3 Oct 2010 06:41:14 +1000, Amos wrote:

>That's the way UDP works.

Thanks so far.
But could you be so kind to explain it a little further?
I'm not that familiar with UDP and don't see why the clients need to
open a listening UDP port to send data to the server.

Thanks,
Enrico

>On 02/10/2010 11:09 PM, "Enrico Tröger" <[email protected]>
>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] r...@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] r...@hefi (0): ~# /etc/init.d/collectd restart
>Restarting statistics collection and monitoring daemon: collectd.
>[13:03:41] r...@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

Attachment: pgp8Ah1SfPBJh.pgp
Description: PGP signature

_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd

Reply via email to