diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2022-02-13 19:25:17 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2022-02-13 19:25:17 +0100 |
commit | 4b559395d6aa97925a2926bf88fd6015ad7e1b66 (patch) | |
tree | bacaed2dfb42ff9abb280d40f2a08b91cad07197 /ansible/plays/templates/ops-agent | |
parent | 51ffd253f00df48aefeee65f3d8723259418f353 (diff) | |
download | infra-4b559395d6aa97925a2926bf88fd6015ad7e1b66.tar.gz infra-4b559395d6aa97925a2926bf88fd6015ad7e1b66.tar.bz2 infra-4b559395d6aa97925a2926bf88fd6015ad7e1b66.tar.xz infra-4b559395d6aa97925a2926bf88fd6015ad7e1b66.zip |
wip
Diffstat (limited to 'ansible/plays/templates/ops-agent')
-rw-r--r-- | ansible/plays/templates/ops-agent/docker-compose.yml | 2 | ||||
-rw-r--r-- | ansible/plays/templates/ops-agent/telegraf.conf | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/ansible/plays/templates/ops-agent/docker-compose.yml b/ansible/plays/templates/ops-agent/docker-compose.yml index c3a2b8a..57cab7b 100644 --- a/ansible/plays/templates/ops-agent/docker-compose.yml +++ b/ansible/plays/templates/ops-agent/docker-compose.yml @@ -1,7 +1,7 @@ version: "3" services: telegraf: - image: telegraf:1.15 + image: telegraf:1.17 privileged: true network_mode: host volumes: diff --git a/ansible/plays/templates/ops-agent/telegraf.conf b/ansible/plays/templates/ops-agent/telegraf.conf index a408ef6..4dd6422 100644 --- a/ansible/plays/templates/ops-agent/telegraf.conf +++ b/ansible/plays/templates/ops-agent/telegraf.conf @@ -27,7 +27,9 @@ [[inputs.processes]] [[inputs.swap]] [[inputs.system]] +{% if false %} [[inputs.docker]] +{% endif %} {% if telegraf_sensors_enable|default(false) %} [[inputs.sensors]] @@ -45,6 +47,11 @@ devices = [ {% endif %} {% endif %} +[[inputs.net]] +[[inputs.netstat]] +[[inputs.interrupts]] +[[inputs.linux_sysctl_fs]] + [[outputs.influxdb]] urls = ["$INFLUX_URL"] skip_database_creation = false |