glpi-project / glpi

GLPI is a Free Asset and IT Management Software package, Data center management, ITIL Service Desk, licenses tracking and software auditing.
https://glpi-project.org
GNU General Public License v3.0
4.32k stars 1.29k forks source link

integration with "zabbix" and "glpi reminders" does not work #11919

Closed basson63 closed 2 years ago

basson63 commented 2 years ago

Code of Conduct

Is there an existing issue for this?

Version

10.0.0

Bug description

Hello! the API mechanism does not work in glpi 10, there is no way to connect the browser extension "glpi reminders" and configure a bundle with zabbix.

I set up according to these instructions: https://www.zabbix.com/ru/integrations/glpi

https://tic.gal/en/how-to-setup-glpi-api/

Relevant log output

Sending failed: Error received from GLPi: missing app_token parameter;

Page URL

No response

Steps To reproduce

No response

Your GLPI setup information

GLPI 10.0.0 (/glpi => /var/www/html/glpi) Installation mode: TARBALL Current language:en_EN

Anything else?

No response

alexbmw00 commented 2 years ago

Hi basson63

I had the same problem today, what happens is that the field/value "Application Token (app_token)" in Home > Setup > General > API Client , needs to be blank, without generating or inserting a key, I tested it here in the Zabbix integration , and it worked (after hours of tshot).

github-actions[bot] commented 2 years ago

There has been no activity on this issue for some time and therefore it is considered stale and will be closed automatically in 10 days.

If this issue is related to a bug, please try to reproduce on latest release. If the problem persist, feel free to add a comment to revive this issue. If it is related to a new feature, please open a topic to discuss with community about this enhancement on suggestion website.

You may also consider taking a subscription to get professionnal support or contact GLPI editor team directly.

lauroitalo commented 1 year ago

Hi basson63

I had the same problem today, what happens is that the field/value "Application Token (app_token)" in Home > Setup > General > API Client , needs to be blank, without generating or inserting a key, I tested it here in the Zabbix integration , and it worked (after hours of tshot).

How did you manage to leave "app_token" ( Home --> Setup --> General --> API ) blank? always generates a new token.

lauroitalo commented 1 year ago

Hi basson63 I had the same problem today, what happens is that the field/value "Application Token (app_token)" in Home > Setup > General > API Client , needs to be blank, without generating or inserting a key, I tested it here in the Zabbix integration , and it worked (after hours of tshot).

How did you manage to leave "app_token" ( Home --> Setup --> General --> API ) blank? always generates a new token.

It's a bug in version 10.0.7. Which does not leave the "APP_token" clear. Solution update or perform manual correction: https://forum.glpi-project.org/viewtopic.php?id=287035

OscarBeiro commented 1 year ago

10.0.9 fixed the issue.