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
Linux, VMware

Install Zabbix Agent 2 VMware Photon OS 4.0

Hello, guys in this short post I’ll show you how to Install Zabbix Agent 2 in VMware Photon OS 4.0.

First verify our Photon OS release with this command.

root@photon [ ~ ]# cat /etc/*release*
DISTRIB_ID="VMware Photon OS"
DISTRIB_RELEASE="4.0"
DISTRIB_CODENAME=Photon
DISTRIB_DESCRIPTION="VMware Photon OS 4.0"
NAME="VMware Photon OS"
VERSION="4.0"
ID=photon
VERSION_ID=4.0
PRETTY_NAME="VMware Photon OS/Linux"
ANSI_COLOR="1;34"
HOME_URL="https://vmware.github.io/photon/"
BUG_REPORT_URL="https://github.com/vmware/photon/issues"
VMware Photon OS 4.0
PHOTON_BUILD_NUMBER=d98e681

Next Install wget.

Continue reading
Standard