Monitoring IoT Devices Using MQTT
MQTT is a machine-to-machine (M2M)/"Internet of Things" connectivity protocol designed as an extremely lightweight publish/subscribe messaging transport. MQTT is useful for connections with remote locations where a small code footprint is required and/or network bandwidth is at a premium. MQTT was invented by Dr. Andy Stanford-Clark of IBM, and Arlen Nipper of Arcom (now Eurotech), in 1999.
Telegraf Input Plugin: MQTT
Gather and graph metrics from your IoT devices with the Message Queue Telemetry Transport (MQTT) protocol—a simple and lightweight messaging protocol ideal for IoT devices. This plugin reads from specified MQTT topics and adds messages to InfluxDB. The plugin expects messages in the Telegraf Input Data Formats.
Telegraf Output Plugin: MQTT
MQTT was designed for low-bandwidth, high-latency networks in the late 1990s/early 2000s. As a result, the designers made a number of key choices which have come to characterize it:
- Simple to implement
- Publish/subscribe messaging
- Zero administration (or near-zero administration)
- Minimal on-the-wire footprint
- Expect and cater for frequent network disruption
- Continuous session awareness
- Expect that client applications may have very limited processing resources available
- Provide traditional messaging qualities of service where the environment allows
- Flexible and data agnostic