Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
frankie7 opened this issue Mar 17, 2024 · 7 comments

Comments

@frankie7
Copy link

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
Copy link
Author

image

image

@frankie7
Copy link
Author

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

@frankie7 frankie7 changed the title After Upgrade to Version 4.4.6 - "Invalid params. Login name or password is incorrect." From version 4.3.0 onwards - "Invalid params. Login name or password is incorrect." - Mar 17, 2024
@frankie7 frankie7 changed the title From version 4.3.0 onwards - "Invalid params. Login name or password is incorrect." - From version 4.3.0 onwards (Zabbix 3.2.11) - "Invalid params. Login name or password is incorrect." - Mar 18, 2024
@bernardolankheet
Copy link

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
Copy link
Author

frankie7 commented Mar 19, 2024

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
Copy link
Author

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
Copy link

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
Copy link
Author

frankie7 commented Mar 19, 2024

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants