[collectd] collectd running over ipsec vpn

Florian Forster octo at verplant.org
Sun Aug 5 23:36:26 CEST 2007

Hi Thomas,

I took the liberty to forward your mail to do mailinglist. Possibly
someone there has an idea ;)

On Sun, Aug 05, 2007 at 03:07:51PM +0200, Thomas Stegbauer wrote:
> i am running collectd on some debian etch machine's (and already on
> sarge before) it worked fine.  now i moved over several server to a
> new location and created an ipsec vpn over there.

Do you use unicast over that line or multicast? What is the MTU of that

> i modified the clients and dns.

What do you mean by that?

> but the collectd graphs are pretty poor, with very big gaps between,
> as i would loose data.

That sounds as if it works occasionally.. Weird..

> in the daemon.log i get many collectd[2414]: Invalid message from ...

The corresponding code breaks the received messages into chunks at
spaces and complains if the number of fields is not 3. The corresponding
line is line 455 of src/network.c. I'm afraid your options are down to
inserting additional debugging messages (or using a debugger, whichever
you prefer) and using tcpdump or ethereal or something similar to have a
look at exaktly what's sent/received..

> i teseted already moving data over with ftp, there i get the full
> speed and  now hint, there is a dataloss.

collectd uses UDP.. Did you try FTP using UDP or FTP? AfaIk FTP can use

Weird problem.. To sumarize:
- It sometimes works. (Unless the gaps you're talking about are an
  understatement ;)
- In any case there's something received by the server, though the
  number of spaces in the messages differ occasionally.

> any ideas?

Not really, sorry :/ Try adding some debug messages (the entire message
received, the length of the message, the number of fields/chunks that
are found, ...) and tell us what you find out..


P. S.: Please send a CC to the mailinglist (simply use `group reply').
       I've added your address to the list of non-subscribed accepted
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20070805/3f77a71a/attachment.pgp 

More information about the collectd mailing list