<p>That's the way UDP works.</p>
<p><blockquote type="cite">On 02/10/2010 11:09 PM, "Enrico Tröger" <<a href="mailto:enrico.troeger@uvena.de">enrico.troeger@uvena.de</a>> wrote:<br><br>Hi Guys,<br>
<br>
collectd is great! Thanks for this software!<br>
<br>
I'm using collectd on various servers to collect<br>
all the data and send it via the "network" plugin<br>
to a central instance where the data is stored.<br>
<br>
The central instance obviously opens an UDP port to<br>
receive the collected data from the "clients".<br>
But for some reason, even the clients open an UDP<br>
port. It seems the port number is chosen randomly<br>
as it changes on every restart:<br>
<br>
[13:03:25] root@hefi (0): ~# netstat -tuplen | grep collectd<br>
udp 0 0 <a href="http://0.0.0.0:33549" target="_blank">0.0.0.0:33549</a> 0.0.0.0:* 0 762935590 32399/collectd<br>
[13:03:36] root@hefi (0): ~# /etc/init.d/collectd restart<br>
Restarting statistics collection and monitoring daemon: collectd.<br>
[13:03:41] root@hefi (0): ~# netstat -tuplen | grep collectd<br>
udp 0 0 <a href="http://0.0.0.0:52165" target="_blank">0.0.0.0:52165</a> 0.0.0.0:* 0 762945183 3310/collectd<br>
<br>
I'm wondering if this intended and/or others<br>
can confirm this behaviour.<br>
<br>
For testing, I disabled the "network" plugin<br>
and then collectd won't open the port. So,<br>
it seems strictly related to the "network"<br>
plugin.<br>
<br>
Here is my config of one of the clients:<br>
<br>
<Plugin network><br>
<Server "<ip-des-masters>" "<port>"><br>
SecurityLevel "Encrypt"<br>
Username "collectd"<br>
Password "<passwort>"<br>
</Server><br>
</Plugin><br>
<br>
<br>
collectd version: 4.10.1-1+squeeze1~bpo50+1 (Debian Stable / Backports)<br>
<br>
<br>
Any ideas?<br>
<br>
<br>
Regards,<br>
Enrico<br>
<font color="#888888"><br>
--<br>
Get my GPG key from <a href="http://www.uvena.de/pub.asc" target="_blank">http://www.uvena.de/pub.asc</a><br>
</font><br>_______________________________________________<br>
collectd mailing list<br>
<a href="mailto:collectd@verplant.org">collectd@verplant.org</a><br>
<a href="http://mailman.verplant.org/listinfo/collectd" target="_blank">http://mailman.verplant.org/listinfo/collectd</a><br>
<br></blockquote></p>