grafana / grafana-zabbix

Zabbix plugin for Grafana dashboard
http://play.grafana-zabbix.org
Apache License 2.0
2.07k stars 457 forks source link

From version 4.3.0 onwards (Zabbix 3.2.11) - "Invalid params. Login name or password is incorrect." - #1805

Open frankie7 opened 7 months ago

frankie7 commented 7 months ago

Hello All,

Zabbix Version 3.2.11 Grafana Version 9.3.2 grafana-zabbix Version 4.4.6

After upgrading grafana zabbix from 4.2.9 to 4.4.6 i now get the following message on "save & test"

"Invalid params. Login name or password is incorrect."

I am sure the password is correct.

image

Logs:

logger=plugin.alexanderzobnin-zabbix-datasource t=2024-03-17T10:44:16.317717163+01:00 level=error msg="Zabbix authentication error" error="Invalid params. Login name or password is incorrect." logger=plugin.alexanderzobnin-zabbix-datasource t=2024-03-17T10:44:16.318444609+01:00 level=error msg="Zabbix API request error" error="Invalid params. Login name or password is incorrect." logger=context userId=1 orgId=1 uname=admin t=2024-03-17T10:44:16.318699523+01:00 level=error msg="Request Completed" method=POST path=/api/datasources/2/resources/zabbix-api status=500 remote_addr=x.x.x.x time_ms=12 duration=12.265909ms size=98 referer=http://x.x.x.x:3000/datasources/edit/7xYofH1Sz handler=/api/datasources/:id/resources/*

Can anyone help me out?

Thanks!

frankie7 commented 7 months ago

image

image

frankie7 commented 7 months ago

UPDATE: I tried various grafana-zabbix plugin versions. This issue shows up from version 4.3.0 onwards.

bernardolankheet commented 7 months ago

Hi @frankie7, Your version of zabbix is verry old. There have been several changes since version 3.2 of zabbix. In this scenario, I would recommend updating the zabbix version to a supported LTS version (6.0 for example) or continuing to use version 4.2.9 of the plugin, in the same way, several queries may not work correctly.

frankie7 commented 7 months ago

Hi @frankie7, Your version of zabbix is verry old. There have been several changes since version 3.2 of zabbix. In this scenario, I would recommend updating the zabbix version to a supported LTS version (6.0 for example) or continuing to use version 4.2.9 of the plugin, in the same way, several queries may not work correctly.

Hi @bernardolankheet, you are very right indeed. The problem is we inherited this old Zabbix version which is very hard to upgrade (lots of database issues). So at the moment i'm looking for a "quick and dirty" fix.

frankie7 commented 7 months ago

It would be nice to fix this issue so to use more recent versions of the grafana-zabbix plugin and make the "Angular JS" warning disappear (>= 4.3.0)

bernardolankheet commented 7 months ago

Hi @frankie7, Your version of zabbix is verry old. There have been several changes since version 3.2 of zabbix. In this scenario, I would recommend updating the zabbix version to a supported LTS version (6.0 for example) or continuing to use version 4.2.9 of the plugin, in the same way, several queries may not work correctly.

Hi @bernardolankheet, you are very right indeed. The problem is we inherited this old Zabbix version which is very hard to upgrade (lots of database issues). So at the moment i'm looking for a "quick and dirty" fix.

Plugin development and support are only for versions still maintained by Zabbix. Supporting versions older than 8 years would be very costly. And I believe that keeping such an old version of zabbix is fine too.

In this scenario, it is recommended to update Zabbix.

frankie7 commented 7 months ago

Hi @frankie7, Your version of zabbix is verry old. There have been several changes since version 3.2 of zabbix. In this scenario, I would recommend updating the zabbix version to a supported LTS version (6.0 for example) or continuing to use version 4.2.9 of the plugin, in the same way, several queries may not work correctly.

Hi @bernardolankheet, you are very right indeed. The problem is we inherited this old Zabbix version which is very hard to upgrade (lots of database issues). So at the moment i'm looking for a "quick and dirty" fix.

Plugin development and support are only for versions still maintained by Zabbix. Supporting versions older than 8 years would be very costly. And I believe that keeping such an old version of zabbix is fine too.

In this scenario, it is recommended to update Zabbix.

Thanks for your suggestion, i hope i'll manage to upgrade the Zabbix platform soon :)