diff --git a/roles/monitoring/templates/mqtt_exporter_config.yaml b/roles/monitoring/templates/mqtt_exporter_config.yaml index a3a0d05..882cd1c 100644 --- a/roles/monitoring/templates/mqtt_exporter_config.yaml +++ b/roles/monitoring/templates/mqtt_exporter_config.yaml @@ -1,3 +1,5 @@ +# {{ ansible_managed }} + log_level: INFO mqtt: @@ -40,6 +42,13 @@ export: metric_name: bitlair_internet_tx value_regex: "^.+:.+:([\\d\\.]+)" + - subscribe: bitlair/collectd/bitlair-5406/snmp/if_octets-traffic.A2 + metric_name: bitlair_lancache_rx + value_regex: "^.+:(.+):" + - subscribe: bitlair/collectd/bitlair-5406/snmp/if_octets-traffic.A2 + metric_name: bitlair_lancache_tx + value_regex: "^.+:.+:([\\d\\.]+)" + - subscribe: bitlair/collectd/apc_powerbar/snmp/current metric_name: bitlair_powerbar_current_da value_regex: "^.+:(\\d+)"