fix: telegraf topics, mqtt brokers, docker-compose fixes

- Fix MOSQUITTO_HOST (wrong container name)
- Fix EMQX_PORT (1885 external -> 1883 internal)
- Fix telegraf MQTT topics (city/sensors/#)
- Fix BunkerM dynsec JSON
- Add kepler.yml Traefik config
- Update monitoring script
This commit is contained in:
Eric FELIXINE
2026-06-07 20:18:41 -04:00
parent 7c0cb330d9
commit 83779cf5d7
9 changed files with 135 additions and 69 deletions

View File

@@ -13,30 +13,18 @@
[[inputs.mqtt_consumer]]
servers = ["tcp://emqx_emqx_1:1883"]
topics = [
"airquality/#",
"traffic/#",
"parking/#",
"noise/#",
"weather/#",
"light/#",
"sensor/#",
"smartcity/#"
"city/sensors/#",
"json/#"
]
data_format = "json"
qos = 0
# Input: MQTT Consumer - Mosquitto
[[inputs.mqtt_consumer]]
servers = ["tcp://smart-city-digital-twin-martinique-mosquitto-1:1883"]
servers = ["tcp://smart-city-mosquitto-1:1883"]
topics = [
"airquality/#",
"traffic/#",
"parking/#",
"noise/#",
"weather/#",
"light/#",
"sensor/#",
"smartcity/#"
"city/sensors/#",
"json/#"
]
data_format = "json"
qos = 0
@@ -45,14 +33,8 @@
[[inputs.mqtt_consumer]]
servers = ["tcp://bunkerm-bunkerm-1:1900"]
topics = [
"airquality/#",
"traffic/#",
"parking/#",
"noise/#",
"weather/#",
"light/#",
"sensor/#",
"smartcity/#"
"city/sensors/#",
"json/#"
]
data_format = "json"
qos = 0