Files
smart-city-digital-twin-mar…/telegraf.conf
Eric FELIXINE 6d1d9c8620 fix: telegraf containers names + openremote pg image + session snapshot 2026-05-25
- telegraf.conf: fix Mosquitto/BunkerM container names (hyphens not underscores)
- tegraf.conf: comment out BunkerM consumer (auth fails, simulator not sending)
- openremote/docker-compose.yml: switch PG image to timescaledb-ha:pg15 (fixes timescaledb_toolkit crash)
- Add session_resume + architecture snapshot 2026-05-25
- Update TODO.md with current status
2026-05-25 14:13:39 -04:00

68 lines
1.4 KiB
Plaintext

[global_tags]
[agent]
interval = "10s"
round_interval = true
metric_batch_size = 1000
metric_buffer_limit = 10000
collection_jitter = "0s"
flush_interval = "10s"
flush_jitter = "0s"
# Input: MQTT Consumer - EMQX
[[inputs.mqtt_consumer]]
servers = ["tcp://emqx_emqx_1:1883"]
topics = [
"airquality/#",
"traffic/#",
"parking/#",
"noise/#",
"weather/#",
"light/#",
"sensor/#",
"smartcity/#"
]
data_format = "json"
qos = 0
# Input: MQTT Consumer - Mosquitto
[[inputs.mqtt_consumer]]
servers = ["tcp://smart-city-digital-twin-martinique-mosquitto-1:1883"]
topics = [
"airquality/#",
"traffic/#",
"parking/#",
"noise/#",
"weather/#",
"light/#",
"sensor/#",
"smartcity/#"
]
data_format = "json"
qos = 0
# Input: MQTT Consumer - BunkerM (DISABLED - auth fails, simulator not sending here)
# [[inputs.mqtt_consumer]]
# servers = ["tcp://bunkerm-bunkerm-1:1900"]
# topics = [
# "airquality/#",
# "traffic/#",
# "parking/#",
# "noise/#",
# "weather/#",
# "light/#",
# "sensor/#",
# "smartcity/#"
# ]
# data_format = "json"
# qos = 0
# username = "bunker"
# password = "bunker"
# Output: InfluxDB v2
[[outputs.influxdb_v2]]
urls = ["http://smart-city-influxdb:8086"]
token = "my-super-token"
organization = "digitribe"
bucket = "smartcity"