[collectd] Collectd opens UDP port
Enrico Tröger
enrico.troeger at uvena.de
Sat Oct 2 15:07:54 CEST 2010
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20101002/125b8c93/attachment.pgp>
More information about the collectd
mailing list