Datasource config file format for Zabbix datasource

Hi all,

  1. Would you please share your experience on the format of config file for zabbix datasource?
    I come up with

datasources:

  • name: zabbix
    type: zabbix
    access: proxy
    url: https:///api_jsonrpc.php
    jsonData:
    username:
    password:
    trends: true
    version: 1
    editable: false

Not sure how to put the “Zabbix API details” part in the jsonData part, the field names and values.

  1. For installing using Docker, where is the config file location?
    /etc/grafana/provisioning/datasources ?

Thanks in advance!

Answer my own question:

  1. With reference to https://github.com/alexanderzobnin/grafana-zabbix/blob/master/src/datasource-zabbix/datasource.js#L54, the field names are correct.

  2. Mount K8s configMap on volume mount path /etc/grafana/provisioning/datasources works.