[collectd] Fwd: client is never sending data to server
Lonni J Friedman
netllama at gmail.com
Wed Aug 1 02:38:32 CEST 2018
On Tue, Jul 31, 2018 at 9:16 AM Ricardo J. Barberis
<ricardo at palmtx.com.ar> wrote:
> El Lunes 30/07/2018 a las 23:00, Lonni J Friedman escribió:
> > On Mon, Jul 30, 2018 at 1:24 PM Ricardo J. Barberis
> > <ricardo at palmtx.com.ar> wrote:
> > > About strace, make sure to use 'strace -f' (follow children) in case the
> > > collecting an sending don't happen on the parent process.
> > Good point. I do see more output once I follow the children, but nothing
> > good:
> > [pid 12483] <... futex resumed> ) = -1 ETIMEDOUT (Connection timed
> > out) [pid 12483] futex(0x48416c, FUTEX_WAKE_PRIVATE, 1) = 0
> > I see a lot of 'Resource temporarily unavailable' and 'Connection timed
> > out'.
> > Any other suggestions?
> First I'd try without Encrypt/Sign to rule out problems with that..
Tried that, no difference.
> One other thing that just ocurred to me is to use tcpdump, e.g. on the client
> something like this:
> # tcpdump -i any -nn -vv dst host <server IP> and port 25826 and udp
> And on the server:
> # tcpdump -i any -nn -vv src host <client IP> and port 25826 and udp
> Hint: I you pass '-w file' to tcpdump, you can save the dump to a file and
> load it on wireshark for a better analysis.
This is rather interesting. The tcpdump showed the connection
attempts actually working, and the data coming through. Yet collectd
never inserts them into the influxdb that has the other client data.
More information about the collectd