-
Notifications
You must be signed in to change notification settings - Fork 32
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
unexpected tag "recovery_mode" error #3
Comments
Invalid tag "/zabbix_export/triggers/trigger(1)": unexpected tag "correlation_mode". |
Invalid tag "/zabbix_export/triggers/trigger(1)": unexpected tag "manual_close". |
Can you please share the template that fails to import? |
mytemplate-mongodb-trap.xml.gz |
mdb2.xml.gz |
I haven't been able to replicate this issue with either of the templates you provided. They both import fine for me on Zabbix 2.0.20. Please advise precisely which Zabbix version you are trying to import into, and what |
I just removed those lines and import successfully. |
sorry,it's my fault.just noticed the some guy have upgraded the zabbix to 3.2 version. |
I'll leave this issue open, as recover tags should be removed in older versions (even though they don't cause an issue apparently). Thanks for reporting this. |
Thank you for making the template converter, it's going to make my life a lot easier. zabbix-template-converter -o 3.0 template_palo_alto.xml > template_palo_alto_3dot0.xml Each time I tried to upload the template, I got a new error. I deleted the tags in question, and once they were all gone the template was able to be imported to Zabbix 3.0.11. Invalid tag "/zabbix_export/templates/template(1)/discovery_rules/discovery_rule(1)/trigger_prototypes/trigger_prototype(1)": unexpected tag "correlation_mode". Invalid tag "/zabbix_export/templates/template(1)/discovery_rules/discovery_rule(1)/trigger_prototypes/trigger_prototype(1)": unexpected tag "manual_close". Invalid tag "/zabbix_export/templates/template(1)/discovery_rules/discovery_rule(1)/trigger_prototypes/trigger_prototype(1)": unexpected tag "tags". 3.2 template: |
Hi, I hitted these kind of errors also converting from 3.2 to 3.0, specifically
But I noticed that they all came from exported triggers after the Templates section, i.e. in the xml file:
So I just removed the This is related with #6 |
Hello, Same as @arielzn, I tried to convert a template from Zabbix 3.2 to 3.0 (Zabbix 3.0.15) and I had similar errors :
By removing the tags manually in the converted template file, the import works. The template comes from https://github.com/fredprod/logstash-zabbix (Template_Logstash-32.xml) and the command used to convert is: |
hi,
I met the following error:
zabbix unexpected tag "recovery_mode" when importing the 2.0 template.
Could you please take a look?
Thanks
The text was updated successfully, but these errors were encountered: