[collectd] Issue with collectd server on Ubuntu 12.04. LTS

Dejan Menges dejan.menges at gmail.com
Fri Jul 26 14:01:02 CEST 2013


Hi,

Permissions are fine, Collectd sends stuff over UDP successfully, on
another side I'm receiving that stuff as well (however, checked udp in
general, works fine), socket when enabled showing just data from the server
where it's running, and from beginning not sure why server does not get
data from the agent even when this data reached the server.

It's not AppArmor (checked it as well, even tested with fully disabled) and
also using strace don't see any of stuff I see being received on UDP 25826
from client handled by server's process. So truth is somewhere in
between... Maybe rebuilding collectd with debug will be only option to try
to figure out what's up.

Regards,
Dejan


On Thu, Jul 25, 2013 at 5:00 PM, Yves Mettier <ymettier at free.fr> wrote:

> Hello,
>
> 1/ check the permissions of your /var/lib/collectd/rrd (and
> /var/lib/collectd)
> 2/ collectd sends data with UDP protocol. So tcpdump...
>
> 3/ enable the unix socket on your collectd (for example
> /var/run/collectd/collectd-**unixsock)
> echo "listval" | socat - /var/run/collectd/collectd-**unixsock
> Empty on the agent ? -> find out why the agent does not collectd...
> No data from the agent on the server ? -> find out why the server does not
> get the data from the agent
> everything OK on the socket ? -> find out why you cannot write on the disk
> (rrdtool/rrdcached problem ?)
>
> apt-get install socat (if not installed yet)
>
> Regards,
> Yves
>
>
> Le 2013-07-25 15:14, Dejan Menges a écrit :
>
>> Hi,
>>
>> I'm new here, but I'm not new with Collectd. Using it for quite a some
>> time
>> on CentOS, and must say didn't have any major issues yet.
>>
>> But, now I need it on Ubuntu LTS. Trying to install just two machines with
>> default plugins, in local network (on Rackspace) where, using network
>> plugin, one is going to be client and another one is going to be server.
>>
>> So there's no firewalls, security, anything in between, and to avoid for
>> this PoC any permissions issue everything is running as root user.
>>
>> So my problem is that everything works fine locally, but data is not
>> shipped from client to server. I went up to tcpdump and checking traffic
>> from one machine to other, and I see that it's sending data regularly,
>> it's
>> not exceeding window size, etc, but nothing is written in
>> /var/lib/collectd/rrd/ from client machine on server machine.
>>
>> I tested this with 4.10 (package from precise repo), 5.2 and 5.3 but lost
>> any more idea how to try to narrow this down. Was also trying simple stuff
>> like enabling just one simple plugin but (as I didn't built it, and
>> obviously it's not built with with debug enabled) neither info or notice
>> log levels are not giving me anything from Collectd neither on client or
>> server.
>>
>> Any advice will be appreciated (as in this particular moment these two
>> machines are not best candidates to set build environment on them, but
>> that's also last resort).
>>
>> Cheers,
>> Dejan
>>
>> ______________________________**_________________
>> collectd mailing list
>> collectd at verplant.org
>> http://mailman.verplant.org/**listinfo/collectd<http://mailman.verplant.org/listinfo/collectd>
>>
>
> --
> - Homepage       - http://ymettier.free.fr                             -
> - GPG key        - http://ymettier.free.fr/gpg.**txt<http://ymettier.free.fr/gpg.txt>                    -
> - C en action    - http://ymettier.free.fr/**livres/C_en_action_ed2.html<http://ymettier.free.fr/livres/C_en_action_ed2.html>-
> - Guide Survie C - http://www.pearson.fr/livre/?**GCOI=27440100673730<http://www.pearson.fr/livre/?GCOI=27440100673730>   -
>
>
> ______________________________**_________________
> collectd mailing list
> collectd at verplant.org
> http://mailman.verplant.org/**listinfo/collectd<http://mailman.verplant.org/listinfo/collectd>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20130726/6739ebf5/attachment.html>


More information about the collectd mailing list