Monitor VMware Cloud Proxy with vROPs Docker Management Pack

 This blog includes the details on how to monitor VMware Cloud Proxy with vROps Docker Management Pack 

https://marketplace.cloud.vmware.com/services/details/b239846b-2aab-4953-901a-959f0009cc7e 

[youtube https://www.youtube.com/watch?v=Dy3Bwt-kTY0]

Value Add 

It is a Management Pack for collecting performance data from your Docker container platform and providing predictive analysis and real-time information about problems in your infrastructure—all within the vRealize Operations user interface.

System Requirements 

Your system meets the following requirements:


vRealize Operations (vRops) Requirements
Docker Requirements
Version(s)

vRealize Operations 7.x or 8.x

 (Advanced and Enterprise editions)

Docker, versions 17.x+ (Community or Enterprise editions)

Connection Hostname (or IP address) of vROps system

Hostname (or IP address) of Docker container host

cAdvisor(Container Advisor), versions 0.25.0+ (See: Configuring cAdvisor (Docker))
Note:cAdvisor supports HTTP only.

Default Port: 8080

Install Docker Management Pack

You can refer procedure here to install Management Pack 

https://docs.vmware.com/en/VMware-vRealize-True-Visibility-Suite/1.0/docker/GUID-BA0B33BC-68C6-49AA-9583-F4C33469AB39.html

Configuring cAdvisor (Docker)

Execute following command on the Cloud Proxy 

docker run \\
–restart=always \\
–privileged=true \\
–volume=/cgroup:/cgroup:ro \\
–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 \\
–cpus=0.25 \\
–memory=250M \\
google/cadvisor:latest

Note – Official Documentation doesn\’t specify any CPU, Memory Configuration but I added the same to ensure it doesn\’t impact other containers in the RDC. 

Configuring the Management Pack (Docker)

You will need to add Adapter Instance in vROPs 

Procedure

Log in to vRealize Operations as an admin user and navigate to Administration then

Select Other Cloud Accounts and Click Add Account


Select Docker 

Enter Hostname or IP of the Cloud Proxy and specify a port (Default is 8080)


You can review other details in the documentation. For my setup, I have kept it as Default 

https://docs.vmware.com/en/VMware-vRealize-True-Visibility-Suite/1.0/docker/GUID-A34F22B8-037E-4993-912E-69C179FC14E3.html

Validate

Once it finishes data collection then you will see 3 Dashboards populate with Data 
















You can also set Notifications. Like here I have configured the notification to notify me on slack when a new container is created 



























Leave a Reply

Your email address will not be published.

%d bloggers like this: