Follow Mike's blog
Archives for the month of: March, 2017


All the cool kids these days are using Docker for their apps. To keep cool, you want to monitor their load and status. LogicMonitor does this using cAdvisor (called Container advisor) which is a free container made by google. There is a LogicMonitor DataSource that taps into the API of cAdvisor to monitors each of your containers. Below is a video showing how I set this up and how to troubleshoot.





Download and install the free container called cAdvisor.

You can do this when you run it or beforehand with this command:

docker pull google/cadvisor

The command you can use to start cAdvisor is shown below. Notice I used the ‘restart’ policy so it will run each time my computer boots and the ‘detach’ so I can get my command prompt back after running this command.

docker run –restart unless-stopped –detach -v=/:/rootfs:ro -v=/var/run:/var/run:rw -v=/sys:/sys:ro -v=/var/lib/docker/:/var/lib/docker:ro –privileged=true -v=/cgroup:/cgroup:ro -p=8080:8080 -d=true –name=cadvisor google/cadvisor:latest

If the ‘Docker containers’ branch doesn’t show up on your server in LogicMonitor, you can try these troubleshooting steps.  Make sure cAdvisor is running by going to your server IP address and port number   (e.g. ). You should see the cAdvisor web page.  You should be able to click the link to open and see more details on each of your containers.

First the disclaimers: Microsoft stopped providing tech support and updates back in 2015 and LogicMonitor tech support does not support running it as a collector. But, I got the collector to install and work by installing this Microsoft patch ( link ). It seems this forces more secure communications that LogicMonitor central servers require. Specifically the article says it allows AES-128 and AES-256 encryption methods.

These are the first 2 symptoms you see during installation. This patch overcomes these errors.

Send http request failed
errcode: -2146893018 (0x80090326)
message: The message received was unexpected or badly formatted.

Read http response failed
errcode: 12017 (0x00002ef1)
message: The operation has been canceled

Note: This was Windows 2003 (32-bit) with SP2. I also did all the Microsoft updates that were available.

Some of Microsoft’s Hotfixes require you to submit your email address and they send you a download link.