grafana / grafana-zabbix

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

Change of overriding DEFAULT_QUERY_LIMIT on Zabbix Datasource configuration #992

Open mjtrangoni opened 4 years ago

mjtrangoni commented 4 years ago

Is your feature request related to a problem? Please describe.

I don't if this is a know issue, but I had some problems with this plugin blocking the Zabbix DB (PSQL), because of a big SELECT query with low refresh frequencies.

And found this value here, https://github.com/alexanderzobnin/grafana-zabbix/blob/2a46eeebf17528867c9220c541b1038dedf8c9d5/src/datasource-zabbix/zabbix/connectors/dbConnector.js#L4

Can we overwrite it from the Datasource configuration? Or even better put some kind timeout in place.

Describe the solution you'd like Limit the Database query size, for blocking users on abusing of the Zabbix backend. Or also implement some kind of select timeout on the zabbix side.

github-actions[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had activity in the last 2 years. It will be closed in 60 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions!