Linux, VMware

Monitoring Docker service with Zabbix in VMware Photon OS 4.0

Hello, guys in this short post I’ll show you how to monitor our docker services with Zabbix in VMware Photon OS 4.0

First, if you haven’t Install the agent install it following this post.

https://otheritblog.wordpress.com/2020/12/16/install-zabbix-agent-2-vmware-photon-os-4-0/

Then in the config file uncomment the Plugins.Docker.Endpoint=unix:///var/run/docker.sock, add the Zabbix user to the docker group and restart the service.

root@photon [ ~ ]# cat /etc/zabbix/zabbix_agent2.conf | grep Plugins.Docker.Endpoint
### Option: Plugins.Docker.Endpoint
Plugins.Docker.Endpoint=unix:///var/run/docker.sock
root@photon [ ~ ]# usermod -aG docker zabbix
root@photon [ ~ ]# systemctl restart zabbix-agent2.service
Standard