monitoringartist / zabbix-docker-monitoring

:whale: Docker/Kubernetes/Mesos/Marathon/Chronos/LXC/LXD/Swarm container monitoring - Docker image, Zabbix template and C module
https://hub.docker.com/r/monitoringartist/zabbix-agent-xxl-limited/
GNU General Public License v2.0
1.19k stars 268 forks source link

compile errors on zabbix 6.4 #178

Open leightonium opened 1 week ago

leightonium commented 1 week ago

configure.ac:42: installing './compile' configure.ac:34: installing './config.guess' configure.ac:34: installing './config.sub' configure.ac:24: installing './install-sh' configure.ac:24: installing './missing' src/libs/zbxalgo/Makefile.am: installing './depcomp' gcc -fPIC -shared -o zabbix_module_docker.so zabbix_module_docker.c -I../../../includepkg-config --cflags --libs jansson zabbix_module_docker.c:20:10: fatal error: common.h: No such file or directory 20 | #include "common.h" | ^~~~~~~~~~ compilation terminated. make: *** [Makefile:4: zabbix_module_docker] Error 1

i-ky commented 1 week ago

Hi @leightonium!

This issue is caused by ZBX-21303.

It is not very difficult to work around, here are examples:

I think a Pull Request will be very welcomed by @jangaraj. I am not submitting it, because I am not using this module (or Zabbix at all) and it would take me a while to set up an environment to test it. But feel free to ping me if you need more guidance.