grafana-zabbix icon indicating copy to clipboard operation
grafana-zabbix copied to clipboard

Invalid params

Open KradinKYu opened this issue 1 year ago • 8 comments

Hello When installing the plugin and selecting Data Source: Zabbix, Query type: Problem, an error began to appear:

Query error Invalid params. Invalid parameter "/output/2": value must be one of "proxyid", "name", "operating_mode", "description", "allowed_addresses", "address", "port", "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", "lastaccess", "version", "compatibility".

Zabbix version 7.0 Zabbix plugin for Grafana version 4.4.3 Grafana version Latest

Error text from grafana:

Invalid params. Invalid parameter "/output/2": value must be one of "proxyid", "name", "operating_mode", "description", "allowed_addresses", "address", "port", "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", "lastaccess", "version", "compatibility". Object status:500 statusText:"Internal Server Error" data:Object error:"Internal Server Error" message:"Invalid params. Invalid parameter "/output/2": value must be one of "proxyid", "name", "operating_mode", "description", "allowed_addresses", "address", "port", "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", "lastaccess", "version", "compatibility"." 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 "/output/2": value must be one of "proxyid", "name", "operating_mode", "description", "allowed_addresses", "address", "port", "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", "lastaccess", "version", "compatibility"."

KradinKYu avatar Oct 12 '23 07:10 KradinKYu

Hey @KradinKYu, Do you know if this worked before? I can see this error with zabbix 7 but not with zabbix 6.

zoltanbedi avatar Oct 25 '23 20:10 zoltanbedi

Ok, it looks like that this is more a feature request than a bug as the plugin is currently not supporting Zabbix 7.

zoltanbedi avatar Oct 25 '23 20:10 zoltanbedi

ok I tryed wiht Zabbix 7 (doesnt work) and with Zabbix 6.4 (works) using last plugin version

lwilfredoflor avatar Oct 25 '23 20:10 lwilfredoflor

@zoltanbedi hello, Is this issue resolved now?

FrankRise avatar Nov 24 '23 07:11 FrankRise

Hey @FrankRise, No it is not, we not yet added support for zabbix 7 yet.

zoltanbedi avatar Nov 27 '23 09:11 zoltanbedi

zabbix change the API for proxy.get in 7.0 https://www.zabbix.com/documentation/current/en/manual/api/reference/proxy/get https://www.zabbix.com/documentation/devel/en/manual/api/reference/proxy/get they changed the api response from Host to Name

juanca-nubiral avatar Jan 24 '24 21:01 juanca-nubiral

Hello @zoltanbedi, any position on support for zabbix 7?

victordiasdm avatar Mar 11 '24 13:03 victordiasdm

@victordiasdm sorry probably not until it gets to supported version.

zoltanbedi avatar Mar 11 '24 14:03 zoltanbedi

Hello! Have any news about support of Zabbix 7?

xandrewkz avatar May 15 '24 06:05 xandrewkz

FYI Zabbix 7.0 was relesed today - so expect more traffic here :)

anthonysomerset avatar Jun 04 '24 13:06 anthonysomerset

Wir haben auch Probleme mit dem offiziellen Zabbix v7.0 LTS und dem Grafana Zabbix Plugin

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".

the-iot avatar Jun 05 '24 06:06 the-iot

Also an error with one of my instances, but only with "text" Problems. All others numerical data dashboards seems to work.

All infos here in case if required: https://github.com/grafana/grafana-zabbix/issues/1833

EHRETic avatar Jun 05 '24 06:06 EHRETic

Zabbix 7 has been released, please fix this by checking version numbering and getting right value, and please let know when this can be done.

Marcel-Balk avatar Jun 08 '24 08:06 Marcel-Balk

Same case here. A workaround can be found in this issue comment: Workaround It was tested with Grafana 11.0.0, Zabbix 7.0.0 and plugin version 4.4.9.

dvaltmoli avatar Jun 08 '24 15:06 dvaltmoli

That worked like a charm, still this is an security issue, this should be fixed asap.

Marcel-Balk avatar Jun 09 '24 12:06 Marcel-Balk