Skip to content
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

Importing the template shows several errors - fails to import #1

Open
Andy-Wismer opened this issue Nov 20, 2021 · 7 comments
Open

Comments

@Andy-Wismer
Copy link

Andy-Wismer commented Nov 20, 2021

Invalid tag "/zabbix_export/templates/template(1)": unexpected tag "httptests".
Seems the tag is only closed, but not opened:

There are several such issues, including "timeout"

Zabbix is the latest with MrMarkuzs module on NethServer.
NethServer 7.9.2009, all updates...

Any ideas?
Thanks

@syntaxerrormmm
Copy link
Owner

Hey Andy, care to share for which version of Zabbix you are trying to import the template? There were a lot of backward compatibility breakages between older versions and new ones recently (I know because I have a lot of templates coming from Zabbix 3.x/4.x that will not import on 5.x).

@Andy-Wismer
Copy link
Author

Andy-Wismer commented Jan 7, 2022 via email

@syntaxerrormmm
Copy link
Owner

syntaxerrormmm commented Jan 7, 2022

Check if the file NSMultiBackup_template_zbx5x.xml in commit 5a81555 solves your issue :)

I just re-created it in a 5.0 instance. It should replicate the functionalities of the previous template, but might work on 5.x.

Let me know.

@Andy-Wismer
Copy link
Author

Andy-Wismer commented Jan 7, 2022 via email

@Andy-Wismer
Copy link
Author

Andy-Wismer commented Jan 8, 2022 via email

@syntaxerrormmm
Copy link
Owner

There is no output from the script, indeed

This is strange, since the script should output the usage even without any arguments.
Could you please check if the script finds out your backups with:

 sudo `which nsmbcheck.py` --discovery

I do not find this macro in Zabbix: {$NSBAKVALIDITY}

IIRC Since Zabbix 5.x the template macros are put inside Inherited and host macros inside the Macros part of your host configuration. You should find there the macro you searched.

@Andy-Wismer
Copy link
Author

Andy-Wismer commented Jan 8, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants