-
Notifications
You must be signed in to change notification settings - Fork 0
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
Comments
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). |
Hi Emiliano
I’m running the latest running on NethServer:
Zabbix 5.0.19. © 2001–2021, Zabbix SIA <https://www.zabbix.com/>
:-)
… Am 07.01.2022 um 19:58 schrieb Emiliano Vavassori ***@***.***>:
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).
—
Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/APDH37IMBHVF5UVLXSPRW2LUU4ZT7ANCNFSM5IOGAJLA>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.
|
Check if the file 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. |
Hi
I finally got home after a long day traveling.
The file was able to import into Zabbix.
Will give feedback tomorrow.
Thx
Andy
…--
André Wismer
ANWI Consulting
Internet Solutions
Freieweg 13
CH-8280 Kreuzlingen
Switzerland
Telefon: +41 78 406 24 38
E-Mail: ***@***.*** ***@***.***>
Internet: http://www.anwi.ch/ <http://www.anwi.ch/>
<https://www.anwi.ch/>
VCard ANWI Consulting <https://www.anwi.ch/vCards/VCard_ANWI-Consulting.vcf>
VCard Andy Wismer <https://www.anwi.ch/vCards/VCard_Wismer_Andy.vcf>
Network Planing, Concepts &
Implementation
Individual Support & Schooling
Integration Legacy Systems
Security Consulting
We'll make your net work!
------------------------------------------------------------
Please note that the information transmitted is intended for the person or entity to which it is addressed only and may contain confidential material. Any review, retransmission, dissemination or other use of this information by persons or entities other than the intended recipient is prohibited. If you receive this in error, please contact the sender and delete the message immediately.
Wir bitten Sie um Kenntnisnahme, dass die übermittelte Nachricht vertrauliche Informationen enthalten kann und lediglich für den Adressaten bestimmt ist. Sollten Sie diese Nachricht irrt¸mlicherweise erhalten, bitten wir Sie, diese umgehend zu löschen und den Absender zu benachrichtigen. Jegliche Weiterleitung oder Verbreitung dieser Nachricht oder anderweitige Verwendung durch andere als den beabsichtigten Empfänger sind untersagt.
------------------------------------------------------------
Am 07.01.2022 um 22:42 schrieb Emiliano Vavassori ***@***.***>:
Check if the file NSMultiBackup_template_zbx5x.xml in commit 5a81555 <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.
—
Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/APDH37O7KXZYNU2PS6PVEALUU5M3DANCNFSM5IOGAJLA>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.
|
Hi
I installed the XML file on my Zabbix, import went OK.
On all 6 NethServers at this site, the RPM was installed (from here: https://github.com/syntaxerrormmm/zbx-nethbackup-check/releases/ <https://github.com/syntaxerrormmm/zbx-nethbackup-check/releases/>)
Backups have all been correctly done, according to Cockpit on all Servers.
There is no output from the script, indeed, I do not find this macro in Zabbix: {$NSBAKVALIDITY}
"The period of validity is customizable (changing the {$NSBAKVALIDITY} macro inside host configuration inside Zabbix frontend).“
Any ideas?
Thanks
Andy
… Am 07.01.2022 um 22:42 schrieb Emiliano Vavassori ***@***.***>:
Check if the file NSMultiBackup_template_zbx5x.xml in commit 5a81555 <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.
—
Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/APDH37O7KXZYNU2PS6PVEALUU5M3DANCNFSM5IOGAJLA>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.
|
This is strange, since the script should output the usage even without any arguments.
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. |
On one server it seems ok:
***@***.*** ~]# `which nsmbcheck.py` --discovery
{"data": [{"{#NSBACKUP}": "backup-data"}, {"{#NSBACKUP}": "config"}]}
Found the Macro:
Seems OK.
… Am 08.01.2022 um 12:10 schrieb Emiliano Vavassori ***@***.***>:
`which nsmbcheck.py` --discovery
|
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
The text was updated successfully, but these errors were encountered: