Hello Forum,
I'm trying to use the Docker by Zabbix agent 2 template to monitor some hosts. The Zabbix Server is Rocky Linux 9.8 fully updated running Server 7.0.29 LTS. The proxy host and docker hosts are running Rocky Linux 10.2 with all packages up to date.
Both of the docker hosts are working as expected with the Linux by Zabbix agent active templates. Firewall is open on the hosts to allow communication FROM the proxy to the docker hosts. I am also able to successfully run zabbix_get against the docker hosts FROM the proxy:
Despite this, I'm still getting Docker: Service is down alerts and none of the data is making it to the server:

zabbix-agent2.conf contents for the two hosts:
I'm not seeing anything in the respective log files on the docker hosts or the proxy.
Not sure why data isn't getting collected/transmitted to the server from the proxy when zabbix_get from the proxy can clearly collect docker.info.
Any help is greatly appreciated!
I'm trying to use the Docker by Zabbix agent 2 template to monitor some hosts. The Zabbix Server is Rocky Linux 9.8 fully updated running Server 7.0.29 LTS. The proxy host and docker hosts are running Rocky Linux 10.2 with all packages up to date.
Code:
┌───────────────────────────────────┐
┌──────────────────┐ │ │
│ │ │ ┌──────────┐ ┌───────────┐ │
│ │ │ │ Zabbix │ │ │ │
│ Zabbix Server │◄────────────│─┤ Proxy ├────►│ Docker 1 │ │
│ │ │ │ │ │ │ │
│ │ │ └─────┬────┘ └───────────┘ │
└──────────────────┘ │ │ ┌───────────┐ │
│ │ │ │ │
│ └─────────►│ Docker 2 │ │
│ │ │ │
│ └───────────┘ │
│ │
└───────────────────────────────────┘
Code:
# zabbix_get -s 192.168.122.105 -k docker.info
{"ID":"c8937113-392b-4e53-814e-7ad79cf61655","Containers":13,"ContainersRunning":10,"ContainersPaused":0,"ContainersStopped":3,"Images":12,"Driver":"overlayfs","MemoryLimit":true,"SwapLimit":true,"CpuCfsPeriod":true,"CpuCfsQuota":true,"CPUShares":true,"CPUSet":true,"PidsLimit":true,"IPv4Forwarding":true,"Debug":false,"NFd":109,"OomKillDisable":false,"NGoroutines":117,"LoggingDriver":"json-file","CgroupDriver":"systemd","NEventsListener":1,"KernelVersion":"6.12.0-211.44.1.el10_2.x86_64","OperatingSystem":"Rocky Linux 10.2 (Red Quartz)","OSVersion":"10.2","OSType":"linux","Architecture":"x86_64","IndexServerAddress":"https://index.docker.io/v1/","NCPU":4,"MemTotal":8320057344,"DockerRootDir":"/var/lib/docker","Name":"tk01.prod.fnt.intra.nbnav.net","ExperimentalBuild":false,"ServerVersion":"29.7.2","DefaultRuntime":"runc","LiveRestoreEnabled":false,"InitBinary":"docker-init","SecurityOptions":["name=seccomp,profile=builtin","name=cgroupns"],"Warnings":null}
zabbix-agent2.conf contents for the two hosts:
Code:
PidFile=/run/zabbix/zabbix_agent2.pid LogFile=/var/log/zabbix/zabbix_agent2.log LogFileSize=10 Server=192.168.122.100 ServerActive=192.168.122.100 Hostname=docker01.example.com PluginSocket=/run/zabbix/agent.plugin.sock ControlSocket=/run/zabbix/agent.sock TLSConnect=psk TLSPSKIdentity=fnt-vm-tk-01 TLSPSKFile=/etc/zabbix/certs/fnt-vm-tk-01.psk Include=/etc/zabbix/zabbix_agent2.d/plugins.d/*.conf Include=/etc/zabbix/zabbix_agent2.d/*.conf
Code:
PidFile=/run/zabbix/zabbix_agent2.pid LogFile=/var/log/zabbix/zabbix_agent2.log LogFileSize=10 Server=192.168.122.100 ServerActive=192.168.122.100 Hostname=docker02.example.com PluginSocket=/run/zabbix/agent.plugin.sock ControlSocket=/run/zabbix/agent.sock TLSConnect=psk TLSPSKIdentity=fnt-vm-semui-01 TLSPSKFile=/etc/zabbix/certs/fnt-vm-semui-01.psk Include=/etc/zabbix/zabbix_agent2.d/plugins.d/*.conf Include=/etc/zabbix/zabbix_agent2.d/*.conf
Not sure why data isn't getting collected/transmitted to the server from the proxy when zabbix_get from the proxy can clearly collect docker.info.
Any help is greatly appreciated!

Comment