Closed jbollman7 closed 4 years ago
I have set the debug level to 4 as suggested. This is what i see now i still see that double slash in the file path. Also now it looks like a commissioning issue somewhere?
129636:20200227:071233.118 Requested [docker.up[/96b0f4e08e5f]]
129636:20200227:071233.118 In zbx_module_docker_up()
129636:20200227:071233.118 In zbx_module_docker_get_fci()
129636:20200227:071233.118 Translating container name to fci by using docker.inspect
129636:20200227:071233.118 In zbx_module_docker_inspect_exec()
129636:20200227:071233.118 In zbx_docker_api_detect()
129636:20200227:071233.118 In zbx_docker_perm()
129636:20200227:071233.118 Additional permission of Zabbix Agent are not detected - only basic docker metrics are available
129636:20200227:071233.118 Docker's socket API is not available
129636:20200227:071233.118 Default fci will be used, because zbx_module_docker_inspect_exec FAIL: Docker's socket API is not available
129636:20200227:071233.118 Metric source file: /sys/fs/cgroup/cpu,cpuacct/docker//96b0f4e08e5f/cpuacct.stat
129636:20200227:071233.119 Cannot open metric file: '/sys/fs/cgroup/cpu,cpuacct/docker//96b0f4e08e5f/cpuacct.stat', container doesn't run
129636:20200227:071233.119 Sending back [0]
129636:20200227:071233.119 __zbx_zbx_setproctitle() title:'listener #1 [waiting for connection]'
129637:20200227:071233.119 __zbx_zbx_setproctitle() title:'listener #2 [processing request]'
129637:20200227:071233.119 Requested [docker.cpu[/9c8079967e2c,total]]
129637:20200227:071233.119 In zbx_module_docker_cpu()
129637:20200227:071233.119 In zbx_module_docker_get_fci()
129637:20200227:071233.119 Translating container name to fci by using docker.inspect
129637:20200227:071233.119 In zbx_module_docker_inspect_exec()
129637:20200227:071233.119 In zbx_docker_api_detect()
129637:20200227:071233.119 In zbx_docker_perm()
129637:20200227:071233.119 Additional permission of Zabbix Agent are not detected - only basic docker metrics are available
129637:20200227:071233.119 Docker's socket API is not available
129637:20200227:071233.119 Default fci will be used, because zbx_module_docker_inspect_exec FAIL: Docker's socket API is not available
Additional permission of Zabbix Agent are not detected - only basic docker metrics are available 129636:20200227:071233.118 Docker's socket API is not available
-> https://github.com/monitoringartist/zabbix-docker-monitoring#additional-docker-permissions
I am running zabbix agent with the zabbix_docker_monitoring.so module. The agent can "see" the cdocker conatiner running however it can not read any of the metrics files. My /etc/zabbix/zabbix_agentd.conf
I *think my issue is due to that double forward slash?
1. cat /etc/release
2. uname -a
3. docker info
4. find /sys/fs/cgroup/cpu,cpuacct/ -name "docker"