ddurieux / glpi_app_grafana

GNU Affero General Public License v3.0
23 stars 13 forks source link

GLPI API Error Response: The parameter user_token seems to be invalid. #21

Closed edilsonluizsantos closed 6 years ago

edilsonluizsantos commented 6 years ago

Hi Mr Ddurieux

Can you help me?

I installed GPLi plugin in my Grafana server, but o message error in the Datasource configuration.

I have the same error with User Authentication and without user authentication.

In the console brower, the tokens parameters are corrects. grafana_plugin image image

tks

edilsonluizsantos commented 6 years ago

Sorry, i forget the versions. Grafana 5.1.2 and GLPi plugin 1.2.

tks

ddurieux commented 6 years ago

It says your user_token invalid, check the api key in your preferences in GLPI

edilsonluizsantos commented 6 years ago

Thanks for your reply!

I put the same key that are in the api_token and user_token on the GLPi parameters.

I checked this itens and the still issue continue. glpi_parameters grafana_plugin

ddurieux commented 6 years ago

it's the token, not the api key, you have it bellow in GLPI screen (not visible)

edilsonluizsantos commented 6 years ago

Hi, David!

Working!!!

I don't have words that express my gratitude!

tks

ddurieux commented 6 years ago

Nice ;)

raimundo-infraestrutura commented 2 years ago

é o token, não a chave da API, você a tem abaixo na tela do GLPI (não visível)

Olá Aonde eu pego token ,não a chave

zincyber commented 2 years ago

raimundo-infraestrutura beleza? Tu pega em Aministração > Seleciona o usuário e vai em "todos" lá tu vai encontrar um item chamado API Token, nele que tu tem que RE-gerar e vai dar certo

abreuti commented 2 years ago

@raimundo-infraestrutura você conseguiu ? passo pelo mesmo problema aqui ainda não consegui resolver.

zincyber commented 2 years ago

aaaaaaaaa

Eu fiz esse gif de um glpi que uso pra testes, da uma olhada que vai dar certo :)