summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/exporter/mikrotik/templates/config.yml.j2
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-07-30 01:55:52 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-07-30 01:55:52 +0200
commitaa7490a9a440b4518f79318be773b7da34e93c93 (patch)
tree486ba36d2653705fed4540f088b1b61f4bd3b821 /roles/monitoring/prometheus/exporter/mikrotik/templates/config.yml.j2
parentsome more preps for e21 (diff)
prometheus: add mikrotik exporter
Diffstat (limited to 'roles/monitoring/prometheus/exporter/mikrotik/templates/config.yml.j2')
-rw-r--r--roles/monitoring/prometheus/exporter/mikrotik/templates/config.yml.j27
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/monitoring/prometheus/exporter/mikrotik/templates/config.yml.j2 b/roles/monitoring/prometheus/exporter/mikrotik/templates/config.yml.j2
new file mode 100644
index 00000000..a2dc1c71
--- /dev/null
+++ b/roles/monitoring/prometheus/exporter/mikrotik/templates/config.yml.j2
@@ -0,0 +1,7 @@
+# {{ ansible_managed }}
+
+devices:
+ {{ prometheus_exporter_mikrotik_devices | to_nice_yaml(indent=2) | indent(2)}}
+
+features:
+ {{ prometheus_exporter_mikrotik_features | to_nice_yaml(indent=2) | indent(2)}}