Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-26692

Error testing GLPI media type – “SyntaxError: parse error (line 4, end of input)”

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Commercial support required
    • Icon: Trivial Trivial
    • None
    • 7.2.10
    • Frontend (F)
    • None

      Hi everyone,

      I'm trying to integrate Zabbix with GLPI using the official "GLPI" media type provided in the Zabbix Git repository (release 7.2). I followed all the steps as documented: imported the YAML file, filled in the required parameters (glpi_app_token, glpi_user_token, glpi_url, etc.), and pasted the script exactly as it appears in the official glpi.js.

      However, when I click "Test" on the media type, I get this error:
       
      {{Test media type failed.
      SyntaxError: parse error (line 4, end of input)}}
      Screenshot with the test parameters is attached.

      Has anyone encountered this error or has an idea what could be causing it? Any help would be greatly appreciated!

        1. okok.png
          okok.png
          60 kB
        2. screenshot-1.png
          screenshot-1.png
          62 kB

            zit Zabbix Integration Team
            rinaldojunior1987 Rinaldo Junior
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: