grafana-zabbix: Zabbix 5.4: method not found. Incorrect API "application"
Describe the bug
I began rebuilding my Zabbix/Grafana monitoring again from scratch (I wanted to start over) using Docker containers.
I had everything functional and suddenly Grafana won’t display some values on a Dashboard with error Incorrect API "application".
I haven’t been able to narrow down exactly why some values will display and some wont.
I went so far as to start over with Grafana in case I I’d caused the issue but a fresh installation of Grafana and the plugin result in the same issue.
Expected behavior Grafana should show all widgets.
Screenshots Non-functional default Zabbix Dashboard Error from non-functional default Zabbix Dashboard Other default dashboard still functional: (Github won’t let me upload it for some reason) https://imgur.com/a/llyY3Kp
Network data
{"datasourceId":1,"method":"application.get","params":{"output":"extend","hostids":[]}}
{"error":"Internal Server Error","message":"Method not found. Incorrect API \"application\"."}
Software versions
Grafana | Zabbix | Grafana-Zabbix Plugin |
---|---|---|
7.5.4 | 5.4.0rc1 | 4.1.4 |
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 4
- Comments: 32
Well, at least changes are documented now:
Not sure if known, but I discovered a hack in Grafana to resurrect broken graphs. You edit your graph and then remove the content of “Application” field, leaving the item and the rest of them untouched, then it started to present graph. Discovered accidentialy because one of graphs had the application field empty and that one worked well after zbx 5.4.0 kicked in yesterday. Link to evidence.
@StefanSa you obviously cannot use Applications since it were removed in Zabbix. This is only compatibility fix, Applications will be replaced by tags in next plugin release.
Hello, do you have an estimate when the next plugin release will arrive? For us this is a blocking factor at the moment to upgrade Zabbix because it will break our Grafana graphs completely.
Thanks.
Zabbix 5.4.0 Error still exist.(
Hi, now the stuff it’s gonna explode (because 5.4.0 went GA today in docker hubs). I stepped into this bug because my automatic docker script upgraded today to zabbix to 5.4 . Shame on zabbix to release undocumented changes which brakes backward compatibility.
UPDATE #2
Although all of my Grafana panels/graphs work, I am unable to query ‘Application’ items:
I can confirm this workaround works, I am running zabbix 5.4.0 and Grafana v7.4.2. You still get the “Method not found. Incorrect API “application”.” error but at least you can see the data!
EDIT: It appears in that case, I was missing a data block, the error is completely gone!
…and in 100% secrecy. Zabbix does not share design documents and still has not updated documentation (proof). Please understand that @alexanderzobnin can’t start working on the fix before new API is documented. I encourage you to contact Zabbix and share your opinion on their policies.