grafana / grafana-zabbix

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

Invalid params. Invalid parameter "/": unexpected parameter "applicationids". #1852

Open davinacio opened 2 months ago

davinacio commented 2 months ago

Dears, i've this issue:

When i try to use problem feature i get this error below:

Invalid params. Invalid parameter "/": unexpected parameter "applicationids". Object status:500 statusText:"Internal Server Error" data:Object error:"Internal Server Error" message:"Invalid params. Invalid parameter \"/\": unexpected parameter \"applicationids\"." config:Object url:"api/datasources/1/resources/zabbix-api" method:"POST" headers:Object hideFromInspector:false data:Object retry:0 traceId:undefined message:"Invalid params. Invalid parameter \"/\": unexpected parameter \"applicationids\"." Expected behavior A clear and concise description of what you expected to happen.

Screenshots

The Zabbix & Grafana are integrated:

image

image

image

Software versions

Zabbix-7.0 (Servers / Agent & Proxy)

Grafana Zabbix Grafana-Zabbix Plugin
11.1.0 7.0 4.5.2

ps: In zabbix version 6.0.31 (than i use to my home lab, works propertly this feature)

Could you help me pls!?

gkovacevic commented 2 months ago

Same here.

Zabbix Version: 7.0.1 Plugin Version: 4.5.2 Grafana: v10.3.1

cs0k1 commented 2 months ago

Same here.

Zabbix Version: 7.0.1 Plugin Version: 4.5.2 Grafana: v10.3.1

vidurkumar11 commented 2 months ago

same here

zabbix_server (Zabbix) 7.0.0 Revision 49955f1fb5c 3 June 2024, compilation time: Jun 3 2024 06:20:45

alexanderzobnin-zabbix-app @ 4.5.2

Invalid params. Invalid parameter "/": unexpected parameter "applicationids". Object status:500 statusText:"Internal Server Error" data:Object error:"Internal Server Error" message:"Invalid params. Invalid parameter \"/\": unexpected parameter \"applicationids\"." config:Object url:"api/datasources/3/resources/zabbix-api" method:"POST" headers:Object hideFromInspector:false data:Object retry:0 traceId:undefined message:"Invalid params. Invalid parameter \"/\": unexpected parameter \"applicationids\"."

JSuenram commented 2 months ago

Can confirm, issue also here with Zabbix 7.0. and 4.5.2

Pauch commented 1 month ago

same here

Zabbix Version: 7.0.1 Plugin Version: 4.5.2

Bose27972 commented 1 month ago

Hello, Since upgrading to version 7 of Zabbix, we've had exactly the same problem. Is an update of the Zabbix plug-in planned to solve this problem, which has a major impact on supervision?

Zabbix Version: 7.0.1 Plugin Version: 4.5.2

ambou75 commented 1 month ago

Same problem :

Zabbix version : 7.0.1 Plugin Version: 4.5.2

error error2

mdubell commented 1 month ago

Zabbix version : 7.0.2 Plugin Version: 4.5.2 Grafana: 11.3

Reinstalled signed plugin. No problems.

Below are the steps I used with Zabbix: 7.0.1


Zabbix version : 7.0.1 Plugin Version: 4.5.2 Grafana: 11.3

Error Invalid params. Invalid parameter "/output/2": value must be one of "proxyid", "name", "proxy_groupid", "local_address", "local_port", "operating_mode", "allowed_addresses", "address", "port", "description", "tls_connect", "tls_accept", "tls_issuer", "tls_subject", "custom_timeouts", "timeout_zabbix_agent", "timeout_simple_check", "timeout_snmp_agent", "timeout_external_check", "timeout_db_monitor", "timeout_http_agent", "timeout_ssh_agent", "timeout_telnet_agent", "timeout_script", "timeout_browser", "lastaccess", "version", "compatibility", "state".

Work Around: This is a horribly bad practice, but if you can't wait for an official update and are twitching because your home lab dashboards aren't working...

1) Add the following line to /etc/grafana/grafana.ini to allow unsigned plugins to be loaded. allow_loading_unsigned_plugins = alexanderzobnin-zabbix-app,alexanderzobnin-zabbix-datasource,alexanderzobnin-zabbix-triggers-panel

2) Remove the digital signature from the grafana-zabbix plugin. Grafana will never load modified plugins that are signed. mv /var/lib/grafana/plugins/alexanderzobnin-zabbix-app/MANIFESST.txt to ~/

3) Edit /var/lib/grafana/plugins/alexanderzobnin-zabbix-app/datasource/module.js {output:["proxyid"]};return Be().lt(this.version,"7.0.0") to {output:["proxyid"]};return Be().lt(this.version,"7.0.1")

4) Restart grafana-server service and refresh web browser

wanglei96 commented 3 weeks ago

Does anyone know how to fix it? ...T.T...

SwjDragon commented 2 weeks ago

Software versions Zabbix-7.0 (Servers / Agent & Proxy) Grafana Zabbix Grafana-Zabbix Plugin 11.1.4 7.0 4.5.2 我的仪表板 是在社区里下载的 First of all, you have to turn on the dashboard modification function must be save dashboard,首先你得开启这个仪表盘的修改功能,一定要记得保存 image image you can delete this problem-panel ,删除这个面板的内容包括行 image go to the explor ,进入探索里面 选择problem 看是否查询到数据,我的是可以查询到数据的 image add disborad 然后将这个添加到现有存在仪表板 image image 然后进入下载的那个社区仪表版里, image 进入修改 选择数据模版类型 image image 之后自行修改 xi想要的相关字段属性 ,修改完成之后 保存,一定要保存 image

Vitaliy155 commented 1 week ago

Grafana v11.1.5 [alexanderzobnin-zabbix-app v4.5.3] The same issue :(