docs fix for provisioning (#1916)
This commit is contained in:
@@ -24,13 +24,10 @@ apiVersion: 1
|
|||||||
datasources:
|
datasources:
|
||||||
- name: Zabbix
|
- name: Zabbix
|
||||||
type: alexanderzobnin-zabbix-datasource
|
type: alexanderzobnin-zabbix-datasource
|
||||||
access: proxy
|
|
||||||
url: http://localhost/zabbix/api_jsonrpc.php
|
url: http://localhost/zabbix/api_jsonrpc.php
|
||||||
isDefault: true
|
|
||||||
jsonData:
|
jsonData:
|
||||||
# Zabbix API credentials
|
# Zabbix API credentials
|
||||||
username: zabbix
|
username: zabbix
|
||||||
password: zabbix
|
|
||||||
# Trends options
|
# Trends options
|
||||||
trends: true
|
trends: true
|
||||||
trendsFrom: '7d'
|
trendsFrom: '7d'
|
||||||
@@ -54,13 +51,28 @@ datasources:
|
|||||||
disableDataAlignment: false
|
disableDataAlignment: false
|
||||||
# Use value mapping from Zabbix
|
# Use value mapping from Zabbix
|
||||||
useZabbixValueMapping: true
|
useZabbixValueMapping: true
|
||||||
|
secureJsonData:
|
||||||
|
password: zabbix
|
||||||
version: 1
|
version: 1
|
||||||
editable: false
|
editable: false
|
||||||
|
|
||||||
- name: MySQL Zabbix
|
- name: MySQL Zabbix
|
||||||
type: mysql
|
type: mysql
|
||||||
url: localhost:3306
|
url: localhost:3306
|
||||||
database: zabbix
|
|
||||||
user: grafana
|
user: grafana
|
||||||
password: password
|
jsonData:
|
||||||
|
database: zabbix
|
||||||
|
secureJsonData:
|
||||||
|
password: password
|
||||||
|
|
||||||
|
- name: PostgreSQL Zabbix
|
||||||
|
type: grafana-postgresql-datasource
|
||||||
|
url: localhost:5432
|
||||||
|
user: grafana
|
||||||
|
jsonData:
|
||||||
|
database: zabbix
|
||||||
|
secureJsonData:
|
||||||
|
password: password
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For detailed provisioning configuration for mysql / postgres in direct db connection mode, refer [mysql plugin documentation](https://grafana.com/docs/grafana/latest/datasources/mysql/#provision-the-data-source) / [postgresql plugin documentation](https://grafana.com/docs/grafana/latest/datasources/postgres/#provision-the-data-source).
|
||||||
|
|||||||
Reference in New Issue
Block a user