Support Center

To better serve you during these uncertain times, we will be hosting a weekly support webinar. We’ll cover topics like LogicMonitor admin basics as well as ways to monitor a remote work environment. Tune in every Wednesday at 11:00am PST.

Sign up here

To better serve you during these uncertain times, we will be hosting a weekly support webinar. We’ll cover topics like LogicMonitor admin basics as well as ways to monitor a remote work environment. Tune in every Wednesday at 11:00am PST.

Sign up here

Our Docker LogicModule monitors resource use within Docker containers. To do so it requires the installation of the “cAdvisor” monitoring container within your docker service.

Getting cAdvisor to run is simple – just run:

sudo docker run \
  --volume=/:/rootfs:ro \
  --volume=/var/run:/var/run:rw \
  --volume=/sys:/sys:ro \
  --volume=/var/lib/docker/:/var/lib/docker:ro \
  --publish=8080:8080 \
  --detach=true \
  --name=cadvisor \
  google/cadvisor:latest

on your docker host. Note that on RHEL and Centos systems you’ll need to add these options to ensure proper operation of cAdvisor:

  --privileged=true \
  --volume=/cgroup:/cgroup:ro \

and on older versions of Docker (< 1.2) you may need to specify the root volume access option as:

  --volume=//:/rootfs:ro \

Once running, LogicMonitor will discover containers as instances and begin gathering data.

See https://github.com/google/cadvisor/blob/master/README.md for full details on the cAdvisor capabilities.

In this Article: