-
Problem report
-
Resolution: Unresolved
-
Trivial
-
None
-
6.0.20
-
None
-
Debian 11
Steps to reproduce:
- Install the media GLPI using notes provided by Zabbix : https://www.zabbix.com/integrations/glpi
- 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,