diff --git a/monitoring/grafana/provisioning/dashboards/openwrt.yaml b/monitoring/grafana/provisioning/dashboards/openwrt.yaml new file mode 100644 index 0000000..97ad70e --- /dev/null +++ b/monitoring/grafana/provisioning/dashboards/openwrt.yaml @@ -0,0 +1,9 @@ +apiVersion: 1 +providers: +- name: 'default' + orgId: 1 + folder: '' + folderUid: '' + type: file + options: + path: /var/lib/grafana/dashboards diff --git a/monitoring/grafana/provisioning/datasources/influxdb.yaml b/monitoring/grafana/provisioning/datasources/influxdb.yaml new file mode 100644 index 0000000..f211b5f --- /dev/null +++ b/monitoring/grafana/provisioning/datasources/influxdb.yaml @@ -0,0 +1,13 @@ +apiVersion: 1 +datasources: +- name: InfluxDB + type: influxdb + access: proxy + url: "http://influxdb:8086" + database: collectd + user: ${INFLUXDB_READ_USER} + isDefault: true + jsonData: + httpMode: "GET" + secureJsonData: + password: ${INFLUXDB_READ_PASSWORD} \ No newline at end of file