diff options
Diffstat (limited to 'docker')
-rw-r--r-- | docker/barometer-collectd/Dockerfile (renamed from docker/Dockerfile) | 0 | ||||
-rw-r--r-- | docker/barometer-collectd/README (renamed from docker/README) | 2 | ||||
-rw-r--r-- | docker/barometer-collectd/run_collectd.sh (renamed from docker/run_collectd.sh) | 0 | ||||
-rw-r--r-- | docker/barometer-influxdb/influxdb.conf | 13 |
4 files changed, 12 insertions, 3 deletions
diff --git a/docker/Dockerfile b/docker/barometer-collectd/Dockerfile index dd3a8c0b..dd3a8c0b 100644 --- a/docker/Dockerfile +++ b/docker/barometer-collectd/Dockerfile diff --git a/docker/README b/docker/barometer-collectd/README index 7f5633ac..4936ad8c 100644 --- a/docker/README +++ b/docker/barometer-collectd/README @@ -25,7 +25,7 @@ This Dockerfile provides instruction for building collect in isolated container 3. INSTALLATION NOTES To build docker container run -sudo docker build -f ./docker/Dockerfile . +sudo docker build -f ./docker/barometer-collectd/Dockerfile . from barometer folder. To run builded image run diff --git a/docker/run_collectd.sh b/docker/barometer-collectd/run_collectd.sh index 001cce1a..001cce1a 100644 --- a/docker/run_collectd.sh +++ b/docker/barometer-collectd/run_collectd.sh diff --git a/docker/barometer-influxdb/influxdb.conf b/docker/barometer-influxdb/influxdb.conf index 7fee866d..994208c3 100644 --- a/docker/barometer-influxdb/influxdb.conf +++ b/docker/barometer-influxdb/influxdb.conf @@ -21,8 +21,17 @@ [[graphite]] [[collectd]] -enabled = true -typesdb = "/types.db" + enabled = true + bind-address = ":25826" # the bind address + database = "collectd" # Name of the database that will be written to + retention-policy = "" + batch-size = 5000 # will flush if this many points get buffered + batch-pending = 10 # number of batches that may be pending in memory + batch-timeout = "10s" + read-buffer = 0 # UDP read buffer size, 0 means to use OS default + typesdb = "/types.db" + security-level = "none" # "none", "sign", or "encrypt" + [[opentsdb]] [[udp]] |