summaryrefslogtreecommitdiffstats
path: root/conf.d/project
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/project')
-rw-r--r--conf.d/project/etc/harvester-config.json60
1 files changed, 31 insertions, 29 deletions
diff --git a/conf.d/project/etc/harvester-config.json b/conf.d/project/etc/harvester-config.json
index 368be7f..da9d6e4 100644
--- a/conf.d/project/etc/harvester-config.json
+++ b/conf.d/project/etc/harvester-config.json
@@ -1,31 +1,33 @@
{
- "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json",
- "metadata": {
- "uid": "Harvester",
- "version": "1.0",
- "api": "harvester",
- "info": "Data collection binding"
- },
- "plugins": [
- {
- "uid": "influxdb",
- "info": "Plugins that handle influxdb read and write",
- "libs": "influxdb.ctlso"
- }
- ],
-
- "onload": [
- {
- "uid": "init_db",
- "info": "Ensure that InfluxDB is up",
- "action": "plugin://influxdb#influxdb_ping"
- }
- ],
-
- "controls": [
- {
- "uid": "write",
- "action": "plugin://influxdb#write_to_influxdb"
- }
- ]
+ "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json",
+ "metadata": {
+ "uid": "Harvester",
+ "version": "1.0",
+ "api": "harvester",
+ "info": "Data collection binding"
+ },
+ "plugins": [
+ {
+ "uid": "influxdb",
+ "info": "Plugins that handle influxdb read and write",
+ "libs": "influxdb.ctlso",
+ "params": {
+ "host": "localhost",
+ "port": 8086
+ }
+ }
+ ],
+ "onload": [
+ {
+ "uid": "init_db",
+ "info": "Ensure that InfluxDB is up",
+ "action": "plugin://influxdb#influxdb_ping",
+ }
+ ],
+ "controls": [
+ {
+ "uid": "write",
+ "action": "plugin://influxdb#write_to_influxdb"
+ }
+ ]
}