Open mathiasewald opened 9 years ago
This looks vagely like metrics are being passed in graphite format to the sensu port without going through the collectd/sensu plugin first -- I think it is complaining that the input is not in json format. Can you post your configuration, and preferably the output of 'tcpdump -i lo -A -s 0 port YOURSENSUPORT' , assuming you are pointing collectd at 127.0.0.1?
Hi, here is my configuration:
collectd.conf: http://pastebin.com/hk5UUaFy tcpdump: http://pastebin.com/4UcJ8Lra
Please not that - as the sens way is currently not working - I am using collectd to send the data directly to graphite.
cheers Mathias
Hi, I installed the plugin into collectd and configured it as suggested. Looking at my sensu-client.log I can see that tons of metric arrive from collectd but I get an error message saying
"parse_error":"lexical error: invalid char in json text.\n
This is the full line:
Not sure if this is related to the plugin or a sensu issue, so I will try you first :)