patricegautier / unifiZabbix

Zabbix templates to monitor pretty much all Unifi devices
179 stars 35 forks source link

Invalid tag zabbix_export/version: unsupported version number. #10

Closed deekaysu closed 3 years ago

deekaysu commented 3 years ago

Hi, thanks for working on the unifiZabbix xmls. however, when i try to import the zbx_export_templates.xml, I am getting an error Invalid tag "/zabbix_export/version":unsupported version number.

I am using zabbix version 5.0.7.

patricegautier commented 3 years ago

Hi there - I exported those templates with zabbix 5.2.3. I think that might be causing the error you are getting.

Do you have the option of updating?

patricegautier commented 3 years ago

I don't believe I am using anything 5.2 specific in there, so as an experiment you could try to edit the XML:

<?xml version="1.0" encoding="UTF-8"?>

5.2 ... and replace 5.2 with 5.0. That might just work.
deekaysu commented 3 years ago

Hi thanks for the response. changed the xml to 5.0 and i was presented with another error

"Invalid tag "/zabbix_export/templates/template(1)/items/item(1)/preprocessing/step(1)": unexpected tag "parameters"."

patricegautier commented 3 years ago

sadly that sounds to me like the 5.2 format is not compatible with 5.0.. Do you have the ability to update Zabbix to 5.2?

patricegautier commented 3 years ago

BTW I have found this site: https://bestmonitoringtools.com/upgrade-zabbix-to-the-latest-version/#Step_11_How_to_upgrade_Zabbix_50_to_52 to be a good resource..

deekaysu commented 3 years ago

i have basic editing capability .. XML copy editor

patricegautier commented 3 years ago

maybe try importing the yaml version? (never mind I just realized that is a 5.2 feature)

patricegautier commented 3 years ago

closing this..