# How do they work?

![](https://1856353139-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MClo3nC-1US0rbK8Qau%2F-MDXiz8wMcZLy8iMEmBp%2F-MDXjJXTu4be5z46kn6b%2FScreen%20Shot%202563-07-31%20at%2009.37.38.png?alt=media\&token=0c642fa7-9501-46e6-bd8f-8507d80a4b08)

* Mosquitto acts as MQTT broker accepting data coming from sensors
* Telegraf subscribes to the MQTT topic, where sensors publish data and store this information into InfluxDB.
* Grafana read data from InfluxDB and visualize data with dashboards.&#x20;
* Telegraf is a database agent that collects data from sensors and systems to InfluxDB.&#x20;
