summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/exporter/modbus/templates/config.yml.j2
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-05-18 17:36:05 +0200
committerChristian Pointner <equinox@spreadspace.org>2023-05-18 17:36:05 +0200
commit6645af20158b84888b97ac03484a98579ed17cfb (patch)
tree8d1b14698c88850d0588b12dcf7503e0819289ee /roles/monitoring/prometheus/exporter/modbus/templates/config.yml.j2
parentsk-tomnext-nc: increase size for /var/log (diff)
prometheus: add modbus exporter
Diffstat (limited to 'roles/monitoring/prometheus/exporter/modbus/templates/config.yml.j2')
-rw-r--r--roles/monitoring/prometheus/exporter/modbus/templates/config.yml.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/monitoring/prometheus/exporter/modbus/templates/config.yml.j2 b/roles/monitoring/prometheus/exporter/modbus/templates/config.yml.j2
new file mode 100644
index 00000000..b4d3f5ce
--- /dev/null
+++ b/roles/monitoring/prometheus/exporter/modbus/templates/config.yml.j2
@@ -0,0 +1,4 @@
+# {{ ansible_managed }}
+
+modules:
+ {{ prometheus_exporter_modbus_modules | to_nice_yaml(indent=2) | indent(2) }}