LMacPhail / zabbix-history-influxdb

A loadable module for zabbix which will export history data to an InfluxDB repository.
GNU General Public License v2.0
44 stars 15 forks source link

Zabbix 4.0.7 module fails to be loaded #11

Open emriver opened 5 years ago

emriver commented 5 years ago

Hello,

First, thank you for this module!

I am using it with Zabbix 4 and it is working fine with versions 4.0.5, 4.0.6, but it fails to load in 4.0.7:

cannot load module "history_influxdb.so" : /usr/lib/zabbix/modules/history_influxdb.so: undefined symbol: __zbx_zbx_snprintf

emriver commented 5 years ago

The issue is also referenced here on plugin libzbxpgsql.

vasekch commented 5 years ago

Zabbix-server needs to stick with 4.0.6 version due to ABI change in later versions

i-ky commented 5 years ago

Or the module has to be recompiled with 4.0.7 sources.

kernehed commented 5 years ago

Zabbix-server needs to stick with 4.0.6 version due to ABI change in later versions

So this wont work with zabbix 4.0.15 aswell? Is it possible to downgrade zabbix?

i-ky commented 5 years ago

@kernehed

So this wont work with zabbix 4.0.15 aswell?

Unless you take sources of Zabbix 4.0.15 and compile the module yourself.

Is it possible to downgrade zabbix?

It is possible, 4.0.x should be compatible between each other, so you can downgrade Zabbix server only leaving frontend, proxies and agents intact.

emriver commented 4 years ago

As this repo seems to be no longer maintained, I have forked it on my side and updated with the new binary. Working fine on 4.0.16 and 4.0.17.