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 Basics

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:

  1. Simple to implement
  2. Publish/subscribe messaging
  3. Zero administration (or near-zero administration)
  4. Minimal on-the-wire footprint
  5. Expect and cater for frequent network disruption
  6. Continuous session awareness
  7. Expect that client applications may have very limited processing resources available
  8. Provide traditional messaging qualities of service where the environment allows
  9. Flexible and data agnostic
X
Contact Sales