Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error module version 4.0 #160

Closed
Marsanm opened this issue Jan 14, 2021 · 7 comments
Closed

Error module version 4.0 #160

Marsanm opened this issue Jan 14, 2021 · 7 comments

Comments

@Marsanm
Copy link

Marsanm commented Jan 14, 2021

Hi,

I downloaded vesion module for agent 4.0 and when i put in my conf of zabbix agent and restart service show me an error that cannot load module, what its wrong if i used the module for agent 4.0

@i-ky
Copy link
Contributor

i-ky commented Jan 14, 2021

Could you copy the exact error message, please?

@Marsanm
Copy link
Author

Marsanm commented Jan 14, 2021

Yeah sorry,

This is the message "cannot load module "zabbix_module_docker.so": /usr/lib/zabbix/modules/zabbix_module_docker.so: undefined symbol: zbx_log_level"

And this is my version agent "zabbix_agentd (daemon) (Zabbix) 4.0.4"

@jangaraj
Copy link
Member

Last 4.x Zabbix version is 4.0.27. This version is used in the compilation for published public binaries. There is very likely Zabbix internal code breaking change between 4.0.4 and 4.0.27. You need to compile module on your own for your exact Zabbix agent version to have 100% binary compatibility of the module with the agent - https://github.com/monitoringartist/zabbix-docker-monitoring#compilation .

@i-ky
Copy link
Contributor

i-ky commented Jan 14, 2021

Module binaries are built with recent Zabbix sources, but 4.0.4 is quite old and, unfortunately, there was a breaking change in Zabbix internal logging API and many modules that were relying on it suffer from incompatibility issues. See ZBX-10889 for more information. Can you update Zabbix agent to 4.0.7 or higher as a workaround?

@i-ky
Copy link
Contributor

i-ky commented Jan 14, 2021

@jangaraj, theoretically, there is a way to fix this, if you are interested.

@jangaraj
Copy link
Member

Thx, TODO issue created #161

@Marsanm
Copy link
Author

Marsanm commented Jan 14, 2021

Thanks for the info.

Yeah, i compiled my own module with the sources of Zabbix, and works. But i am thinking the best would be update the agent.

Thx!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants