Skip to content
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

Add support for version 7.0 #1714

Closed
KradinKYu opened this issue Oct 12, 2023 · 15 comments · Fixed by #1835
Closed

Add support for version 7.0 #1714

KradinKYu opened this issue Oct 12, 2023 · 15 comments · Fixed by #1835

Comments

@KradinKYu
Copy link

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

@zoltanbedi
Copy link
Member

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

@zoltanbedi
Copy link
Member

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

@lwilfredoflor
Copy link

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

@FrankRise
Copy link

@zoltanbedi hello, Is this issue resolved now?

@zoltanbedi
Copy link
Member

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

@juanca-nubiral
Copy link

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

@zoltanbedi
Copy link
Member

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

@zoltanbedi zoltanbedi changed the title Invalid params Add support for version 7.0 May 8, 2024
@xandrewkz
Copy link

Hello!
Have any news about support of Zabbix 7?

@anthonysomerset
Copy link

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

@the-iot
Copy link

the-iot commented Jun 5, 2024

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

@EHRETic
Copy link

EHRETic commented Jun 5, 2024

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: #1833

@Marcel-Balk
Copy link

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.

@dvaltmoli
Copy link

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.

@Marcel-Balk
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Complete
Development

Successfully merging a pull request may close this issue.

12 participants