aboutsummaryrefslogtreecommitdiff
path: root/ansible/plays/templates/ops-agent
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2022-02-13 19:25:17 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2022-02-13 19:25:17 +0100
commit4b559395d6aa97925a2926bf88fd6015ad7e1b66 (patch)
treebacaed2dfb42ff9abb280d40f2a08b91cad07197 /ansible/plays/templates/ops-agent
parent51ffd253f00df48aefeee65f3d8723259418f353 (diff)
downloadinfra-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.yml2
-rw-r--r--ansible/plays/templates/ops-agent/telegraf.conf7
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