Open levkar opened 5 years ago
I was just about to ask.... any help?
How much history
do you store in Zabbix database? Typically it's something between a week and a month. I don't think it's worth the effort, you simply start using the module and allow a transition period, after which InfluxDB will store exactly the same amount of data as Zabbix history
table.
Exporting trends
is a different story and, perhaps, requires a different schema in InfluxDB.
I need store minimum a 13 months of history... Influx is only for "backups". But now I must check annother options...
Well, theoretically we can implement this as a Simple check item key. You will execute it once using "Check now" functionality. It will perform a select * from history
and then will process these values as if they were real-time data.
We wrote an export SQL for history and trends which is in influxdb format. Once we test we can share if you anyone is interested.
I can test it :)
Is there a module/script/documentation for exporting historical data from zabbix db (with tag fields in this module like hosts, groups, applications) and importing it into influxdb?
I believe this will be very useful for those who want to use this module.