You are here

Default Docker Checks give JSon errors

2 posts / 0 new
Last post
glenn
glenn's picture
Default Docker Checks give JSon errors

Hi all,

Did any of you already got the default docker checks (Application - Docker) working that are provided in the latest opsview ?

When running them local, I get some json format errors from the script, as pasted below. I'm testing this un ubuntu 14.04 and install all required libraries.

./check_docker -l TotalContainers -t 15 --port=2376
malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "\x{15}\x{3}\x{1}\x{0}...") at ./check_docker line 525.

Some searching on the net didn't provide me much info.

 

Regards,

Glenn

 

Duncan Ferguson
dferguson's picture
This is due to a bug within

This is due to a bug within check_docker that does not take account TLS enabled docker ports (it assumes plain http socker connection).

The plugin I have provided to you via the support ticket should cope correctly.

  Duncs