monitoring/mqtt-exporter: Update config

This commit is contained in:
polyfloyd 2023-10-08 14:10:39 +02:00
parent d06406c9f4
commit 7fb633b75a
2 changed files with 15 additions and 4 deletions

View file

@ -9,14 +9,24 @@ export:
- subscribe: bitlair/#
- subscribe: bitlair/climate/+location/#
- subscribe: bitlair/wifi/+ssid/#
- subscribe: bitlair/state
value_map:
open: 1
closed: 0
metric_type: enum
enum_states: [open, closed]
- subscribe: bitlair/state/djo
metric_type: enum
enum_states: [open, closed]
- subscribe: bitlair/doorduino/lockstate
metric_type: enum
enum_states: [open, closed]
- subscribe: bitlair/pos/product
metric_type: counter
labels:
product: enum
product: payload
- subscribe: bitlair/collectd/bitlair-5406/snmp/if_octets-traffic.D15
metric_name: bitlair_internet_rx
value_regex: "^.+:(.+):"

View file

@ -5,6 +5,7 @@ address {{ mqtt_public_host }}
topic bitlair/climate/# out
topic bitlair/collectd/bitlair-5406/snmp/# out
topic bitlair/doorduino/lockstate out
topic bitlair/entrysensor/# out
topic bitlair/humidity/+ out
topic bitlair/lasercutter/+ out