diasdmhub / Asus_Merlin_Zabbix_Template

Template for Asus WRT router with Merlin firmware
GNU General Public License v3.0
9 stars 2 forks source link

Problème import zabbix 5.4 #2

Closed rzae closed 3 years ago

rzae commented 3 years ago

Hi,

i have downloaded the template for zabbix 5.4 but impossible to import. I have a error « Unable to parse at line 7 (near "<!DOCTYPE html>"). »

diasdmhub commented 3 years ago

Are you using OOTB templates? Please, could you share the steps taken to reproduce this issue?

rzae commented 3 years ago

Hi,

Thanks for your answer. In my new Zabbix 5,4, I go in Configuration / Templates / Import and I upload your files AsusRouter!template_v9,yaml. When I click on Import, I have an error "Import failed https://ibb.co/4pxqMrM

diasdmhub commented 3 years ago

I think you may have gotten the template the wrong way.

If you go to the file listing and right click the file name followed by "save link as", you will save GitHub's HTML page and not the actual source file.

Git does not support downloading parts of the repository. You would have to download all of it. At the repository main branch, click on "Code" then "Download Zip".

Despite that, you should be able to download a single file following this steps:

  1. Open the file you wish to download.
  2. Right click at "RAW" option.
  3. Then, click on "save link as".

Due to issue #3, I've uploaded a new file for "revision" branch. Please try to download "AsusRouter_template_v9.1.yaml" file instead and report back if you can.

rzae commented 3 years ago

I had to download the raw file. Test with the 9.1 file and it works . Thank you very much