Common Module - Telegraf turn off hdd temp monitoring

This commit is contained in:
Mike Reeves
2018-11-19 16:29:07 -05:00
parent 76221425c8
commit 223c6d85f7
2 changed files with 5 additions and 2 deletions

View File

@@ -149,6 +149,7 @@ so-telegraf:
- /etc/pki/ca.crt:/etc/telegraf/ca.crt:ro
- /etc/pki/influxdb.crt:/etc/telegraf/telegraf.crt:ro
- /etc/pki/influxdb.key:/etc/telegraf/telegraf.key:ro
- /opt/so/log/telegraf/:/var/log/telegraf/:rw
# If its a master or eval lets install the back end for now
{% if grains['role'] == 'so-master' or grains['role'] == 'so-eval' %}
@@ -176,6 +177,8 @@ so-influxdb:
docker_container.running:
- image: soshybridhunter/so-influxdb:HH1.0.4
- hostname: influxdb
- environment:
- INFLUXDB_HTTP_LOG_ENABLED=false
- binds:
- /opt/so/conf/influxdb/etc/influxdb.conf:/etc/influxdb/influxdb.conf:ro
- /nsm/influxdb:/var/lib/influxdb:rw

View File

@@ -70,10 +70,10 @@
## Run telegraf in quiet mode (error log messages only).
quiet = false
## Specify the log file name. The empty string means to log to stderr.
logfile = ""
logfile = "/var/log/telegraf/telegraf.log"
## Override default hostname, if empty use os.Hostname()
hostname = ""
hostname = "{{ grains.host }}"
## If set to true, do no set the "host" tag in the telegraf agent.
omit_hostname = false