mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-09 18:52:52 +01:00
Common Module - Telegraf turn off hdd temp monitoring
This commit is contained in:
@@ -149,6 +149,7 @@ so-telegraf:
|
|||||||
- /etc/pki/ca.crt:/etc/telegraf/ca.crt:ro
|
- /etc/pki/ca.crt:/etc/telegraf/ca.crt:ro
|
||||||
- /etc/pki/influxdb.crt:/etc/telegraf/telegraf.crt:ro
|
- /etc/pki/influxdb.crt:/etc/telegraf/telegraf.crt:ro
|
||||||
- /etc/pki/influxdb.key:/etc/telegraf/telegraf.key: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 its a master or eval lets install the back end for now
|
||||||
{% if grains['role'] == 'so-master' or grains['role'] == 'so-eval' %}
|
{% if grains['role'] == 'so-master' or grains['role'] == 'so-eval' %}
|
||||||
@@ -176,6 +177,8 @@ so-influxdb:
|
|||||||
docker_container.running:
|
docker_container.running:
|
||||||
- image: soshybridhunter/so-influxdb:HH1.0.4
|
- image: soshybridhunter/so-influxdb:HH1.0.4
|
||||||
- hostname: influxdb
|
- hostname: influxdb
|
||||||
|
- environment:
|
||||||
|
- INFLUXDB_HTTP_LOG_ENABLED=false
|
||||||
- binds:
|
- binds:
|
||||||
- /opt/so/conf/influxdb/etc/influxdb.conf:/etc/influxdb/influxdb.conf:ro
|
- /opt/so/conf/influxdb/etc/influxdb.conf:/etc/influxdb/influxdb.conf:ro
|
||||||
- /nsm/influxdb:/var/lib/influxdb:rw
|
- /nsm/influxdb:/var/lib/influxdb:rw
|
||||||
|
|||||||
@@ -70,10 +70,10 @@
|
|||||||
## Run telegraf in quiet mode (error log messages only).
|
## Run telegraf in quiet mode (error log messages only).
|
||||||
quiet = false
|
quiet = false
|
||||||
## Specify the log file name. The empty string means to log to stderr.
|
## 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()
|
## 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.
|
## If set to true, do no set the "host" tag in the telegraf agent.
|
||||||
omit_hostname = false
|
omit_hostname = false
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user