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

Enable plugin by default

Open nabokihms opened this issue 2 years ago • 3 comments

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.

image

Regarding everything above, I have two questions:

  1. How can I avoid this behavior? Can I make the plugin enabled by default somehow?
  2. 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

nabokihms avatar Apr 28 '22 15:04 nabokihms

Hi! Yes, this is tricky thing, I'll check out Grafana backlog to see if there's any plan to fix it somehow.

alexanderzobnin avatar Apr 29 '22 12:04 alexanderzobnin

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

vicmunoz avatar Jun 28 '22 10:06 vicmunoz

Yep, need use new sidecars to get this working

dragoangel avatar Jan 10 '24 13:01 dragoangel