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
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)) Default Port: 8080 |
Install Docker Management Pack
You can refer procedure here to install Management Pack
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
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