grafana-zabbix
grafana-zabbix copied to clipboard
Enable plugin by default
Describe the bug
We deploy Grafana as a stateless service on top of Kubernetes clusters. Users can customize enabled plugins using Grafana GF_INSTALL_PLUGINS
environment variable. The problem we faced is that the Zabbix datasource requires enabling on every Grafana restart.
Regarding everything above, I have two questions:
- How can I avoid this behavior? Can I make the plugin enabled by default somehow?
- What is the reason behind this Enable button (I'm just curious)?
Expected behavior The plugin works from the start.
Screenshots The plugin requires manual actions to make it work.
Software versions
Grafana | Zabbix | Grafana-Zabbix Plugin |
---|---|---|
8.2.3 | ??? | 4.2.6 |
Hi! Yes, this is tricky thing, I'll check out Grafana backlog to see if there's any plan to fix it somehow.
You can enable the plugin with Grafana Provisioning feature (https://grafana.com/docs/grafana/latest/administration/provisioning/)
Just set file /etc/grafana/provisioning/plugins/zabbix.yaml
with below content:
apiVersion: 1
apps:
- type: alexanderzobnin-zabbix-app
disabled: false
Yep, need use new sidecars to get this working