[collectd] curl_jason plugin is not sending data to rabbitMQ server

Marc Fournier marc.fournier at camptocamp.com
Wed Feb 5 23:42:03 CET 2014

Excerpts from Mariano González's message of 2014-01-31 15:01:13 +0100:
> Hi there.
> I've implemented curl_jason plugin to recolect and send LoadBalancer
> metrics to my RabbitMQ to be graphed in Graphite.
> Thing is, it's not sending any data, while it is working just fine (and
> great) with other plugins like memory, cpu, df root, network, etc. I've
> tried to troubleshoot following this suggestion:
> http://serverfault.com/questions/499378/collectd-stores-nan-instead-of-correct-value-in-ubuntu-12-04,
> but there're no issues coming out.
> Here's my collectd.conf: https://gist.github.com/Mariano-gon/8732467
> Here're the last lines of collectd.log when I start it:
> https://gist.github.com/Mariano-gon/8732488
> The request is made against Rackspace API where my LoadBalancer is located,
> and if run manually, the curl gets me a json response perfectly normal.

Just a random guess: does the rackspace API require you to send an "Accept"
encoding header ? By default collectd doesn't send any.

Try tcpdumping the HTTP traffic and compare what headers collectd sends vs
when you run curl manually.


More information about the collectd mailing list