Hi,
I have Zabbix Server 6.0.12 and zabbix-agent2 on Ubuntu 20.04.
All data is coming in the server, except Docker template data.
I have added zabbix user to docker group and test from agent machine shows that it can read data, for example:
root@docker:~# zabbix_agent2 -t docker.ping
docker.ping [s|1]
or:
root@docker:~# zabbix_get -s docker -k docker.info
{"Id":"C56S:YMJW:A3A5:G4RP:WIDK:NVNP:WYLX:5BGN: 3XM X:3FUV:2KLI:3VZE","Containers":70,"ContainersRunni ng":58,"ContainersPaused":0,"ContainersStopped": 12 ,"Images":56,"Driver":"overlay2","MemoryLimit": tru e,"SwapLimit":false,"KernelMemory":true,"KernelM em oryTCP":true,"CpuCfsPeriod":true,"CpuCfsQuota":tru e,"CPUShares":true,"CPUSet":true,"PidsLimit":tru e, "IPv4Forwarding":true,"BridgeNfIptables":true, "Bri dgeNfIP6tables":true,"Debug":false,"NFd":538,"OomK illDisable":true,"NGoroutines":765,"LoggingDriver" :"json-file","CgroupDriver":"cgroupfs","NEventsListener": 21,"KernelVersion":"5.4.0-144-generic","OperatingSystem":"Ubuntu 20.04.2 LTS","OSVersion":"20.04","OSType":"linux","Archit e cture":"x86_64","IndexServerAddress":"https://index.docker.io/v1/","NCPU":8,"MemTotal":16768995328,"DockerRootD ir": "/var/lib/docker","Name":"docker","ExperimentalBuild":false, "ServerVersion":"20.10.7","ClusterStore":"","C lust erAdvertise":"","DefaultRuntime":"runc","LiveResto reEnabled":false,"InitBinary":"docker-init","SecurityOptions":["name=apparmor","name=seccomp,profile=default"],"Warnings":["WARNING: No swap limit support"]}
For me it seems to be working fine from agent side, but no data flows in the zabbix server. Also no errors on server side.
What I'm missing?
I have Zabbix Server 6.0.12 and zabbix-agent2 on Ubuntu 20.04.
All data is coming in the server, except Docker template data.
I have added zabbix user to docker group and test from agent machine shows that it can read data, for example:
root@docker:~# zabbix_agent2 -t docker.ping
docker.ping [s|1]
or:
root@docker:~# zabbix_get -s docker -k docker.info
{"Id":"C56S:YMJW:A3A5:G4RP:WIDK:NVNP:WYLX:5BGN: 3XM X:3FUV:2KLI:3VZE","Containers":70,"ContainersRunni ng":58,"ContainersPaused":0,"ContainersStopped": 12 ,"Images":56,"Driver":"overlay2","MemoryLimit": tru e,"SwapLimit":false,"KernelMemory":true,"KernelM em oryTCP":true,"CpuCfsPeriod":true,"CpuCfsQuota":tru e,"CPUShares":true,"CPUSet":true,"PidsLimit":tru e, "IPv4Forwarding":true,"BridgeNfIptables":true, "Bri dgeNfIP6tables":true,"Debug":false,"NFd":538,"OomK illDisable":true,"NGoroutines":765,"LoggingDriver" :"json-file","CgroupDriver":"cgroupfs","NEventsListener": 21,"KernelVersion":"5.4.0-144-generic","OperatingSystem":"Ubuntu 20.04.2 LTS","OSVersion":"20.04","OSType":"linux","Archit e cture":"x86_64","IndexServerAddress":"https://index.docker.io/v1/","NCPU":8,"MemTotal":16768995328,"DockerRootD ir": "/var/lib/docker","Name":"docker","ExperimentalBuild":false, "ServerVersion":"20.10.7","ClusterStore":"","C lust erAdvertise":"","DefaultRuntime":"runc","LiveResto reEnabled":false,"InitBinary":"docker-init","SecurityOptions":["name=apparmor","name=seccomp,profile=default"],"Warnings":["WARNING: No swap limit support"]}
For me it seems to be working fine from agent side, but no data flows in the zabbix server. Also no errors on server side.
What I'm missing?