ddurieux / glpi_app_grafana

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

Not Working with Grafana v9.1.7 and GLPI 10.0.3 #81

Open rodrigopadilh4 opened 1 year ago

rodrigopadilh4 commented 1 year ago

Hi,

After updating glpi to version 10 the plugin is not working. The data source is working, but the data is not displayed in the dashboard. Does this plugin work with this version? glpi: 10.0.3 plugin glpi: 1.3.1 grafana: 9.1.7

Below image of the debugger

image

image

image

ddurieux commented 1 year ago

Released for Grafana 9 : https://github.com/ddurieux/glpi_app_grafana/releases/download/2.1.0/ddurieux-glpi-app-2.1.0.zip

rodrigopadilh4 commented 1 year ago

Thanks for the answer.

I installed the plugin by unzipping the zip file. The plugin shows that it is installed but does not show the datasource. I verified that the directory /grafana/plugins/ddurieux-glpi-app/datasource/ apparently lacks files comparing to version 1.3.1.

image

image

image

ddurieux commented 1 year ago

You can't click on the glpi datasource?

rodrigopadilh4 commented 1 year ago

No, he doesn't. In version 1.3 the datasource is automatically presented for configuration.

image

abreuti commented 1 year ago

Yes, I have the same problem, my configuration show version 1.3.1

edsontadeuas commented 1 year ago

I´m experiencing the same problem too.

Grafana 9.2.4 + GLPI 10.0.5 is not working with glpi-plugin version 1.3.1.

So, when i did the upgrade to glpi-plugin version 2.1.0, the glpi datasource it not presented for configuration.

DevilishDante commented 1 year ago

Hello, I have the same problem too, How to fix that ? Thanks you to read me ;)

ddurieux commented 1 year ago

We made fixes for version 2.1.0 of the plugin, compatible with 9.5.x Perhaps it could works too with v10.0 More news this week or next week

edsontadeuas commented 1 year ago

Hello ddurieux.

I just tested the latest plugin update (2.1.0) and it still doesn't work, grafana 9.2.4 + glpi 10.0.5.

Thanks!

bug1 bug2 bug3

ddurieux commented 1 year ago

The version I re-uploaded this morning (2 hours ago)?

edsontadeuas commented 1 year ago

The version I re-uploaded this morning (2 hours ago)?

Yes!

ddurieux commented 1 year ago

I think the URL in the panel is not right, can you check it?

edsontadeuas commented 1 year ago

I think the URL in the panel is not right, can you check it?

This is the URL i´m using:

https://glpi.MYDOMAIN/front/ticket.php?is_deleted=0&as_map=0&criteria[0][field]=12&criteria[0][searchtype]=equals&criteria[0][value]=notold&search=search&itemtype=ticket&start=0

bug4

ddurieux commented 1 year ago

The URL is not right, you must have itemtype=Ticket and not itemtype=ticket, it's a huge difference ;)

edsontadeuas commented 1 year ago

The URL is not right, you must have itemtype=Ticket and not itemtype=ticket, it's a huge difference ;)

I've tested both. The result is the same.

If i connect to my old GLPI (9.2.3), everything works ok.

https://glpi.MYDOMAIN/front/ticket.php?is_deleted=0&as_map=0&browse=0&criteria[0][link]=AND&criteria[0][field]=12&criteria[0][searchtype]=equals&criteria[0][value]=notold&itemtype=Ticket&start=0

nrwillian commented 1 year ago

@edsontadeuas You were able to install it from the zip provided by @ddurieux , I opened a question but for me the plugin has an invalid signature.

Already put the same as allow in grafana.ini but it still didn't work

edsontadeuas commented 1 year ago

@edsontadeuas You were able to install it from the zip provided by @ddurieux , I opened a question but for me the plugin has an invalid signature.

Already put the same as allow in grafana.ini but it still didn't work

Yes,

I tried to install the plugin available in grafana first, and then I downloaded the latest zip version available. In both versions I was not successful in querying the GLPI.

There seems to be some incompatibility with the new API of GLPI 10 because it worked with GLPI 9.x.

nrwillian commented 1 year ago

@edsontadeuasVocê conseguiu instalá-lo a partir do zip fornecido por@ddurieux, abri uma pergunta, mas para mim o plugin está com uma assinatura inválida. Já coloquei o mesmo como allow no grafana.ini mas mesmo assim não funcionou

Sim,

Tentei instalar o plugin disponível no grafana primeiro e depois baixei a versão zip mais recente disponível. Em ambas as versões não obtive sucesso na consulta ao GLPI.

Parece haver alguma incompatibilidade com a nova API do GLPI 10 porque funcionava com o GLPI 9.x.

Entendi, eu estou com problema na instalação. Para mim aparece plugin com assinatura inválida.

edsontadeuas commented 1 year ago

Let's wait for @ddurieux to evaluate this issue. Maybe he will release a version already compatible with glpi 10 soon.

* Eu tive esse problema de assinatura inválida também, mas com a última versão que estava disponibilizada parou de acontecer. Tenta baixar a versão direto do github e utiliza ela pra ver se você consegue ativar o plugin.

nrwillian commented 1 year ago

Vamos esperar por@ddurieuxpara avaliar esta questão. Talvez ele lance uma versão já compatível com glpi 10 em breve.

Eu tive esse problema de assinatura inválida também, mas com a última versão que estava disponibilizada parou de acontecer. Tente baixar a versão direto do github e utilize ela pra ver se você consegue ativar o plugin.

@edsontadeuas

Fiz o download da versão do github, fiz o clone do repositório. E mesmo assim não foi.

Tentei também com esse link https://github.com/ddurieux/glpi_app_grafana/releases/download/2.1.0/ddurieux-glpi-app-2.1.0.zip que o @ddurieux disponibilizou nos comentários acima.

ddurieux commented 1 year ago

Hi all, I'm working on couple modifications / fixes, requested by Grafana team to be integrated into the catalog. I will push a new version 2.1.0 in the week ;)

DiegoRiopae commented 1 year ago

@ddurieux também estou passando pelo mesmo problema que os colegas relatam. Estou usando a versão 2.10 que foi disponibilizada

erroGLPI

auguzsto commented 1 year ago

First of all, thank you very much for your thoughtful work. I face the same problem here.

image

abreuti commented 1 year ago

Do someone already solved it? Can you help me?

ddurieux commented 1 year ago

The plugin os for the last stable version, GLPI 9.5 and GSIT 9.5

c411n commented 1 year ago

Hi @ddurieux

I have the same problem with GLPI 10.0.6 and the latest version (2.0.1) of you plugin. I understand that it is a compatibility issue as it only works with glpi 9.5.x.

Are there any plans to add compatibility with version 10.x.x ?

Thanks for advanced.

miguelsilv6 commented 8 months ago

Any news for GLPI 10.x ?

@ddurieux

Thanks

evandrofonseca22 commented 8 months ago

Any updates? @ddurieux

I install the v2.1.0 and Grafana 10.0

My gpli uri: /front/ticket.php?is_deleted=0&as_map=0&browse=0&criteria[0][link]=AND&criteria[0][field]=1&criteria[0][searchtype]=contains&criteria[0][value]=REP&itemtype=Ticket

image

urbantao commented 6 months ago

Hi, I'm trying to get some glpi 10.xxx stats into my grafana 10.0.2, I tried the plugin glpi 2.10 on grafana, but I only got some 400 errors. Here is my request : https://myglpi.dom.xxx/front/ticket.php?is_deleted=0&as_map=0&browse=0&criteria%5B0%5D%5Blink%5D=AND&criteria%5B0%5D%5Bfield%5D=12&criteria%5B0%5D%5Bsearchtype%5D=equals&criteria%5B0%5D%5Bvalue%5D=notold&itemtype=Ticket&start=0&_glpi_csrf_token=bcde4549df5f40b0a47f3d3f1efc0e264643f5e1f0ed3b566286df50d9df71ec&sort%5B%5D=19&order%5B%5D=DESC

is there something I can do, or maybe I am in the same situation than others, and the grafana glpi plugin does not work with glpi 10.xxx ?

ddurieux commented 6 months ago

Hi, no, all my developpements (grafana, plugins...) are stopped for GLPI 10, but will continue with GSIT only