-
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
plugin version 4.6.0 compatiblity issues #1935
Comments
Same here, thanks for reporting. v4.6.0 rendered my Grafana completely unusable.
Had to revert the plugin like this: $ grafana-cli plugins install alexanderzobnin-zabbix-app 4.5.7 |
Can confirm, seeing this issue on our system as well. Downgrading seems to fix the issue for now. |
Downgrade doesn't help to solve the problem |
@yesoreyeram @zoltanbedi @ivanahuckova Another one related to zabbix's API depecated fields. Looking at the API Docs on changes from 7.0 to 7.2 it seems that the one that got hit here is the "ZBXNEXT-9452 hostgroup.get: Removed support for deprecated parameters monitored_hosts, real_hosts." The parameter "real_hosts" should be changed to "with_hosts" and is currently used on 3 places on the code, /pkg/zabbix/methods.go, /src/datasource/zabbix/connectors/zabbix_api/zabbixAPIConnector.ts and the test /src/datasource/zabbix/connectors/zabbix_api/zabbixAPIConnector.test.ts Digging arround a little more, I found out some other issues on deprecated parameters being used:
That's what I got so far. |
Hiya.. we are investigating this and working on a fix. Meantime, you can use older version of the plugin. |
I should have mentioned.... In our case, we are running Zabbix 6.0 on our server instance. This is still a fully supported release for at least a few more months, and will be in extended support until 2027 as per the LTS lifecycle. I suspect some of these API changes are for 7.0+ versions, but I would think that backwards compatibility needs to be considered for this plugin to support older versions correctly. Yes, we will be upgrading to 7.0 in the coming year, but as many know this isn't always easy or quick for large deployments. |
same error here |
same error here, looking forward to see a fix please |
And here ...
|
Sorry for the delay.. You can expect a new release by 1st week of Jan. |
Thanks for letting us know Sriram! |
Hello, any update on this? When can we expect an upgrade? It already 6th of Jan, 2025. |
4.6.1 is out with the fix. Sorry for the inconvenience. |
Thanks for the effort guys! |
Update: Grafana cloud is now updated with plugin version 4.6.1 |
Describe the bug
Caused by https://github.com/grafana/grafana-zabbix/blob/main/src/datasource/zabbix/connectors/zabbix_api/zabbixAPIConnector.ts#L148
Happens since v4.6.0 whenever dashboard has variable configured to be of Zabbix type. It would seem that population of variables at dashboard load happens before plugin queries (or receives) version information from datasource API, which causes this
TypeError
, as version is undefined.Expected behavior
Variables are populated into dashboard at load time properly.
Screenshots
Software versions
The text was updated successfully, but these errors were encountered: