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

Need App-Token in GLPI media for GLPI 10.0.9 support

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 6.0.20
    • Templates (T)
    • None
    • Debian 11

      Steps to reproduce:

      1. Install the media GLPI using notes provided by Zabbix : https://www.zabbix.com/integrations/glpi
      2. Create a GLPI user as described in the documentation

      Result:
      When a problem appear we have an error message that tell missing app-token.

      No created ticket in our GLPI instance.

      Expected:
      A ticket created in GLPI.

       

      To have a working media I needed to add this in getAuthToken function (after line 32) :

      request.addHeader('App-Token: ' + 'The GLPI app token');

       

      I also needed to add this to request function (after line 80) :

      request.addHeader('App-Token: ' + 'The GLPI app token'); 

       

      Could you please add a macro and modify the script for this ? 

       

      Best regards,

        1. GLPI_apptoken.png
          GLPI_apptoken.png
          30 kB
        2. GLPI_documentation.png
          GLPI_documentation.png
          125 kB
        3. glpi_version.png
          glpi_version.png
          6 kB
        4. image-2023-11-05-22-28-18-422.png
          image-2023-11-05-22-28-18-422.png
          50 kB
        5. media_glpi.yaml
          15 kB
        6. without_apptoken.png
          without_apptoken.png
          6 kB
        7. zabbix_api1.png
          zabbix_api1.png
          103 kB
        8. zabbix_api2.png
          zabbix_api2.png
          51 kB
        9. zabbix_supervision_profile_rights.png
          zabbix_supervision_profile_rights.png
          50 kB
        10. zabbix_user1.png
          zabbix_user1.png
          12 kB
        11. zabbix_user2.png
          zabbix_user2.png
          85 kB
        12. zabbix_user3.png
          zabbix_user3.png
          28 kB
        13. zabbix_webhook.png
          zabbix_webhook.png
          36 kB

            fvilarnovo Facundo Vilarnovo
            romainrn Romain RN
            Team INT
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: