Getting started with Docker Containers monitoring using Microsoft OMS

So been using alot of days the last couple of weeks working with OMS, it is becoming a powerhouse of features, even though you need to be aware of that the data usage can get totally out of control if it is not tuned properly, so it is becoming more like its big brother Operations Manager….

Anyway lets stick to OMS and Docker Container monitoring, which now is a preview feature as of now. It can be used either as a Container running the OMS agent (which is for CoreOS) or installing the OMS agent on a linux host

3-OMS-082416

Now this was released in august, but then I looked at the OMS agent at Docker hub and noticed that this was now changed –> https://hub.docker.com/r/microsoft/oms/  now we can push the OMS container agent to any of the supported Linux distributions & Docker versions

  • Docker 1.10 thru 1.12.1
    Ubuntu 14.04 LTS, 16.04 LTS
    CoreOS(stable)
    Amazon Linux 2016.03
    openSUSE 13.2
    CentOS 7
    SLES 12
    RHEL 7.2
    ACS Mesosphere DC/OS 1.7.3, 1.8.4

  • They way to use it is pretty simple you need

  • 1: OMS workspace with workspace ID & Primary key & you need to Docker integration enabled

  • 2: One Docker host

  • From the docker host you run the following to download the OMS agent image to the host.

  • sudo docker pull microsoft/oms

  • After the image has been downloaded you run the following

  • sudo docker run –privileged -d -v /var/run/docker.sock:/var/run/docker.sock -e WSID=”your workspace id” -e KEY=”your key” -p 127.0.0.1:25225:25225 –name=”omsagent” –restart=always microsoft/oms

Now eventually if the docker host has network access you can see the information being updated to OMS

image

From the solution we can get alot of performance information from the different containers

image

It can also show the different containers host and docker images that are available in the repository

image

As of now this ONLY supported Linux Containers and not Windows Containers…. Hopefully Microsoft is moving forward with a Microsoft OMS agent for Windows Containers here as well.

Leave a Reply

Scroll to Top