romainsi / zabbix-VB-R-SQL

Monitore VB&R with SQL query
33 stars 15 forks source link

Unsupported import file extension "yaml" Import #1

Closed rohrbachger closed 2 years ago

rohrbachger commented 3 years ago

With the 5.0 Version it seems not to work. As I can´t upgrade easy, is there a template available for this version?

I have running an very old version with powershell scripts, and having timeout issues with the large file. I would like to use the DB version, this makes much more sense I guess.

romainsi commented 3 years ago

Hello,

I made an export in .xml but I think you're going to get errors on import. It should be possible to modify for adapt it (especially the trigger times in minutes that were in seconds on older versions (Ok if you use V5.0 i think) and actions that may not be present to remove).

rohrbachger commented 3 years ago

I tried this, yes. And run into the issues. It takes time to understand what is to change, I hoped there is an easier way. One problem was easy. I found a converter yaml to xml. You used for name "Backup & Recovery". The & is bad, but with search and replace was easy solved. The next issue needs more understanding, so I did not looked at this.

I like the sql version, I remember several years ago I did for BackupExec,Veriats the same.

rohrbachger commented 3 years ago

I tried with your xml template again, I only modified the export version to be able to read. No luck, still Invalid tag "/zabbix_export/templates/template(1)/items/item(2)/preprocessing/step(1)": unexpected tag "parameters". The structure seems different,

techinnov-974 commented 3 years ago

Hello @rohrbachger Thank you for reporting the problem yesterday I was in the same case, thanks to your help I managed to debug the code and it is imported correctly from my side.

@romainsi The xml file does not import in version 5.0.8 of zabbix, I had to correct the tags because I have the same error as @rohrbachger

Problem come from the tags in "<preprocessing>" the tags "<parameters>" and "<parameter>" caused concern.

However, I have not tested the operation. Check if it works

Download XML : Template Veeam Backup And Replication new.zip

image

rohrbachger commented 3 years ago

I have tested the import, this works fine now. Still Iḿ fighting with the PS script, it's not working yet for me. But probably a simple issue with my config.

Gerald

techinnov-974 notifications@github.com hat am 12.02.2021 05:51 geschrieben:

Hello @rohrbachger Thank you for reporting the problem yesterday I was in the same case, thanks to your help I managed to debug the code and it is imported correctly from my side.

@romainsi The xml file does not import in version 5.0.8 of zabbix, I had to correct the tags because I have the same error as @rohrbachger

Problem come from the tags in "<preprocessing>" the tags "<parameters>" and "<parameter>" caused concern.

However, I have not tested the operation. Check if it works

Download XML : Template Veeam Backup And Replication new.zip

image

-- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/romainsi/zabbix-VB-R-SQL/issues/1#issuecomment-777969314