-
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
Problem when Trying to Use the "Problems" Query Type #1834
Comments
duplicate of #1714 |
@LinekerCalseverini As it was changed from 'host' to 'name', can we find it in the code to test as a temporary fix? I know we are looking for a quick solution and maybe they will resolve it quickly in a new release of the plugin. My fear is that it will take time to fix it. |
Yeah, that should work. Would recommend backing up the module.js file and restarting the Grafana server. |
Unfortunately, after editing module.js, the plugin is disabled due to "Modified signature". |
@intan-it You can change the "allow_loading_unsigned_plugins" in grafana.ini to allow the plugin to be enabled. Then restart Grafana server. |
Excuse me :) P.S. Thanks for your time. |
For me the plugin.json was here and it allowed me to start the application by commenting the whole build block: /var/lib/grafana/plugins/alexanderzobnin-zabbix-app/plugin.json The issue I have now, is that I don't see the "Zabbix Problems" visualization and it only returns the alerts in a table. Any clue why I lost the visualizations? |
@DonPook The Zabbix Problems visualization doesn't work in Table view (the panel option), it works in the List view (the one that has a broken heart icon). Unfortunately, I have not found a way to circumvent this. |
I used the following steps to modify this plugin and restore functionality with Zabbix 7.0 .
If you're using the Zabbix Problems visualization with the Table Layout the following modification was needed to remove the error "Invalid params. Invalid parameter "/selectUsers": an array or a character string is expected." when an alert line is expanded.
|
I confirm, it works. |
When I select the "Problems" Query Type it throws the following 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".
The API is sending this body to the zabbix API:
{"datasourceId":2,"method":"proxy.get","params":{"output":["proxyid","host"]}}
I'm pretty sure the problem is because in the new Zabbix Version, there's a new proxy table, and this also changed how the proxy.get procedure call works, since the proxy object now doesn't have a field called "host" (it was changed for "name", see Zabbix 7.0 Proxy Object)
Software versions
The text was updated successfully, but these errors were encountered: