Ad Widget

Collapse

Template: Import Failed - Cannot read XML: (68) StartTag: invalid element name

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pascalrossillon
    Junior Member
    • Feb 2021
    • 3

    #1

    Template: Import Failed - Cannot read XML: (68) StartTag: invalid element name

    Hi All,

    I am trying to import a template to monitor NetApp: Zabbix Share - NETAPP ONTAP 9.5

    I receive the error: Cannot import Template: Import Failed - Cannot read XML: (68) StartTag: invalid element name [Line: 3016 | Column: 71

    It seems it doesn't accept this: <> at line 3016 and colum 71

    <expression>{Template SNMP NetApp cDot:dfStatus[{#SNMPINDEX}].last()}<>2</expression>

    Anyone has an idea how to fix it?

    Best regards.
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    Replace with " = " in the template and after importing, find this trigger and return the condition back to "<>"

    Comment

    • pascalrossillon
      Junior Member
      • Feb 2021
      • 3

      #3
      Hello, thanks for your answer but where is stored the template after importing to return the condition back to <>?

      Comment

      • Hamardaban
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • May 2019
        • 2713

        #4
        in the template named “Template SNMP NetApp cDot” !

        Comment

        • pascalrossillon
          Junior Member
          • Feb 2021
          • 3

          #5
          thanks again for the answer but can you show me the complete walkthrough after importing? where can I change the = back to <>. I am new to zabbix

          Comment

          • efostevo
            Junior Member
            • Oct 2023
            • 1

            #6
            Hi can you help mi with similar issue with template "MSSQL by ODBC"
            • Cannot read XML: (68) StartTag: invalid element name [Line: 296 | Column: 73].

            i have zabbix 6.0 LTS
            template downloaded from

            but also template for 6.4 not wroking with same issue.

            I have native yaml converted to xml

            line "296 - Columnt 73 ">"
            <expression>max(/MSSQL by ODBC/mssql.buffer_cache_hit_ratio,5m)<{$MSSQL.BUFFER_CA CHE_RATIO.MIN.CRIT}
            but still no luck.

            Click image for larger version

Name:	obrázok.png
Views:	579
Size:	33.4 KB
ID:	473672

            Comment

            Working...