apiVersion: 1 datasources: - name: DS_ZABBIX34 type: alexanderzobnin-zabbix-datasource url: http://zabbix-web:8080/api_jsonrpc.php jsonData: # Zabbix API credentials username: Admin # Trends options trends: true trendsFrom: '7d' trendsRange: '4d' # Cache update interval cacheTTL: '1h' # Alerting options alerting: true addThresholds: false alertingMinSeverity: 3 tlsSkipVerify: true # Direct DB Connection options dbConnectionEnable: true # Name of existing datasource for Direct DB Connection dbConnectionDatasourceName: PostgreSQL Zabbix # Retention policy name (InfluxDB only) for fetching long-term stored data. # Leave it blank if only default retention policy used. dbConnectionRetentionPolicy: one_year # Disable acknowledges for read-only users disableReadOnlyUsersAck: true # Disable time series data alignment disableDataAlignment: false # Use value mapping from Zabbix useZabbixValueMapping: true secureJsonData: password: zabbix version: 1 editable: false - name: PostgreSQL Zabbix type: grafana-postgresql-datasource url: zabbix-postgres:5432 user: zabbix jsonData: database: zabbixNew sslmode: 'disable' timescaledb: false secureJsonData: password: zabbix