-
Notifications
You must be signed in to change notification settings - Fork 460
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
Compatibility issues with Zabbix 7.x #1914
Comments
I second this. Getting the same error in grafana dockerized. |
You're using an unsupported version, 7.2 isn't production ready and not supported. Currently support goes till 7.0.x |
For me, every version on 7.2 has worked until 7.2 rc1. Wonder what changed to cause this issue? Going to the API page gives http error 412 now. Does the API page work for anyone on RC1? |
You should check it out on Zabbix side. As I said, 7.2 isn't production ready, and is not currently supported by the Plug-in. |
I'm also getting this same error. Is there no solution? I downloaded the latest versions of zabbix and grafana and they just don't work together? I installed zabbix 7.2 on all my hosts and now I have to go back to 7.0 and start all over again? Did you find a solution? @viper2pt0 @jakub-nowak-pl @isaqueprofeta @sglamm |
@lphbraz you shouldn't use zabbix 7.2 yet, it isn't released. Check on https://www.zabbix.com/road map : "Zabbix 7.2 Planned release date: Q4 2024" |
It’s a Zabbix issue, not Grafana. Looks like the api for zabbix is broken
or does not function the same in 7.2. Its not production yet so we have to
use it at our own risk.
Sean Lamm
…On Fri, Dec 6, 2024 at 11:46 AM lphbraz ***@***.***> wrote:
I'm also getting this same error. Is there no solution? I downloaded the
latest versions of zabbix and grafana and they just don't work together? I
installed zabbix 7.2 on all my hosts and now I have to go back to 7.0 and
start all over again? Did you find a solution? @viper2pt0
<https://github.com/viper2pt0> @jakub-nowak-pl
<https://github.com/jakub-nowak-pl> @isaqueprofeta
<https://github.com/isaqueprofeta> @sglamm <https://github.com/sglamm>
—
Reply to this email directly, view it on GitHub
<#1914 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKHUJBDY6OP4TTI7S2GQVHL2EHPHDAVCNFSM6AAAAABR6CMDBGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRTHAZTSOJSGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I have the exact same issue and I'm using a supported zabbix version, 7.0.6
|
Starting from version 6.4, it was announced that the auth property would be deprecated and removed in future releases. That moment has arrived, and no one was prepared for it. |
Odd part about 7.2 is even the API page does not work. Gives 412 error. Not a Grafana issue, but part of the puzzle. I am waiting for some kind of update from Zabbix for a resolution. |
@alxcreate thx for the pointer. Being technical here now, 7.2.0 is out and looking at the API Docs now zabbix does not use the "auth" field for the AuthToken. Now the session/auth token, being an API Key or an authorize sesssion token should be at the header @yesoreyeram @zoltanbedi @ivanahuckova can you take a look? This is a a pretty critical one. |
boa... alex A partir da versão 6.4, foi anunciado que a propriedade de auth seria obsoleta e removida em versões futuras. Esse momento chegou, e ninguém estava preparado para isso. |
@isaqueprofeta - we are looking at it. |
Zabbix API works well:
|
I created an intermediary proxy using Flask, a framework I am more familiar with. This solution resolved the issues While connecting Grafana to Zabbix, I faced the following issues: Grafana was sending obsolete parameters (auth and real_hosts) that the Zabbix API could not process correctly. Solution: Flask-Based Proxy Below is the Python implementation:
How It Works Outcome I hope this implementation provides valuable insights. If there’s anything further I can clarify or contribute, please let me know! |
Nice workaround! I wrapped this in a dockerfile, which i've added below.
It'll do what I need in the short term. |
Hiya. We are working on a fix and expecting to be available this week. |
datasource save&test will report:[Invalid params. The "user.login" method must be called without authorization header.] change it to: |
I have a PR with the fix ready #1931. If anyone here has time and is up for it, would you verify that it fixes the issue for you. Thank you 🙏 . |
I've got all dockerized but If this fix will got into grafana dockerized I can check. |
Same here. I tried to mount the branch into /var/lib/grafana/plugins but that did not work. Do you have a how-to for testing this? |
We have the build available to test through docker. docker run -p 3000:3000 -e "GF_INSTALL_PLUGINS=https://storage.googleapis.com/integration-artifacts/alexanderzobnin-zabbix-app/4.5.7/main/163fabf651b776bf70adc08fa41bec4f52645374/alexanderzobnin-zabbix-app-4.5.7%2B163fabf6.linux_amd64.zip;alexanderzobnin-zabbix-app" grafana/grafana-enterprise:latest Once you start the above docker instance, you need to enable the plugin in Can someone help to test the above build works both in 6.x and 7.x version of zabbix? |
Works fine with Zabbix 7.2.0 - thanks! |
When this will be available for typical installation? I mean command |
i was using grafana OSS not in docker instance is how can i go around that problem cause am still facing it when i upgrade zabbix to 7.2 |
You can manually download plugin and unzip it in plugins folder of Grafana. But it's not a production choice. In your position, I would continue using the old versions and wait for a published fix. |
Same issue here :( I don't understand why you say Zabbix 7.2 is not a production version, it's the version on their main website, and it seems a prod version. |
7.2 is in production and actually it's quite strange to not to work on Zabbix changes sice ver. 7 was out in beta |
Planning to release by EOD tomorrow. |
Gimme a sec, I'll try it with my zabbix-lab project. |
Tested with the following versions on docker (used the https://github.com/isaqueprofeta/zabbix-lab project) Zabbix 5.4 Zabbix 6.0 Zabbix 6.4 Zabbix 7.0 Zabbix 7.2 |
Thank you @isaqueprofeta |
I updated the environment and I have the same problem, grafana gives the same error as auth, can anyone help me? |
The new version with the correction is planned to be release tomorrow at the end of the day. |
tks |
working after full plugin wipe and re-install |
New plugin works fine. Thanks.
|
Works like a charm :) |
Plugin updating and working. Thanks. |
Describe the bug
After updating plugin and moving zabbix to new server, now getting this message when trying to reauthenticate and connect the plugin.
Expected behavior
Authentication to succeed and healthy response from zabbix api.
Software versions
The text was updated successfully, but these errors were encountered: