The MQTT vs SNMP question comes up as soon as a network team is asked to bring sensors, industrial machinery, HVAC systems, EV chargers, solar plants or smart-building devices into the same monitoring platform that already watches routers, switches and firewalls. These assets generate data continuously, and that data is valuable: it is what lets operations optimize processes, reduce costs and anticipate failures. But it does not arrive over the protocols a NOC has relied on for decades.
The protocol that most often carries it is MQTT (Message Queuing Telemetry Transport). It is little known outside the IoT world, yet it has become the de facto standard for connecting millions of distributed devices. This article looks at MQTT from the point of view of someone who already thinks in OIDs, polling intervals and trap receivers.

What is MQTT?
MQTT is a lightweight messaging protocol that runs over TCP (port 1883, or 8883 over TLS). It was designed in 1999 for SCADA telemetry over expensive, unreliable satellite links, and that origin explains its design goals: a minimal wire footprint (the fixed header is two bytes), tolerance of intermittent connectivity, and a client simple enough to run on a constrained microcontroller. It is an OASIS standard, also published as ISO/IEC 20922, with versions 3.1.1 and 5.0 in production use today.
Traditional monitoring with SNMP vs MQTT
Traditional monitoring follows a pull model: the platform polls each device on a schedule, whether or not anything has changed. As a result, cost scales with devices × metrics × polling frequency, and data is only as fresh as the polling interval.
MQTT, by contrast, inverts this. Devices send data only when they have something new or an event occurs. Consequently, the network carries less traffic, both ends use fewer resources, and changes reach the applications that need them far sooner.
From polling to publish/subscribe
This works because of the publish/subscribe model, whose key property is decoupling. Instead of talking to each other directly, publishers and consumers both connect to a central broker, which then delivers each message only to the systems subscribed to it:
- Publishers send messages to a topic, a hierarchical string such as
plant1/line3/press07/temperature. - Subscribers register topic filters with the broker, optionally using wildcards:
+matches one level and#matches all remaining levels, soplant1/+/+/temperaturecollects every temperature reading in the plant. - The broker matches publications against subscriptions and forwards them. A device does not know, and does not need to know, who is consuming its data.
Adding a new consumer, such as an analytics engine or a predictive-maintenance service, requires no change on the devices: it is one more subscription on the broker.

MQTT vs SNMP: is MQTT just a trap for IoT?
For anyone coming from networking, the closest mental model is the SNMP trap: the device notifies an event on its own initiative, with no prior query. The analogy is a good starting point, but MQTT goes considerably further. It is not limited to alarms. It is a general transport for any kind of information, including sensor measurements, operational state, production data and control commands, and it lets multiple applications consume the same data at the same time.
| SNMP polling | SNMP trap / inform | MQTT | |
|---|---|---|---|
| Model | Pull, request/response | Push, point-to-point | Push, publish/subscribe through a broker |
| Transport | UDP 161 | UDP 162 | TCP 1883 / TLS 8883 |
| Addressing | Manager must reach each agent | Agent configured with each receiver | Device opens one outbound session to the broker |
| Data model | OIDs defined in MIBs | OIDs defined in MIBs | Free-form topic and opaque payload (often JSON or Sparkplug B) |
| Delivery guarantee | Retry by the manager | None for traps, acknowledged for informs | QoS 0, 1 or 2 selected per message |
| Fan-out | One poll per consumer | One destination per configured receiver | Any number of subscribers, transparent to the device |
| Direction | Read, plus SET | Notification only | Bidirectional: telemetry and commands |
| Typical payload | State and counters | Events and alarms | Any telemetry, state, events or commands |
In practice, three differences stand out
- Delivery semantics. A trap is a single UDP datagram, so if it is lost, nobody knows. MQTT, however, lets the publisher choose a QoS level per message: QoS 0 (at most once), QoS 1 (at least once, acknowledged with PUBACK) or QoS 2 (exactly once, via a four-step handshake). For example, an alarm can travel at QoS 1, while a high-rate temperature reading uses QoS 0.
- Reachability. SNMP polling requires the manager to reach every agent, which is awkward across NAT, cellular links and segmented OT networks. An MQTT client, on the other hand, opens a single outbound TCP session to the broker and therefore works naturally behind firewalls or over mobile links.
- Schema. SNMP relies on a self-describing data model, the MIB. MQTT, by contrast, defines no payload format at all. This flexibility lets it carry anything; at the same time, the consuming platform must parse, normalize and enrich whatever each vendor publishes. For this reason, specifications such as Sparkplug B add a standard topic namespace and payload for industrial use.
An example of MQTT data in a Viewtinet dashboard:

Without polling, how do you know a device is alive?
This is the most common objection from monitoring teams. If nothing is polling the device, what tells you it is still up? The answer has two layers.
The first is in the protocol itself, which includes mechanisms to detect a lost connection between a device and the broker:
- Keep-alive. The client declares a keep-alive interval when it connects. If it has nothing to send, it issues a PINGREQ and the broker answers with a PINGRESP. If the broker hears nothing for one and a half times the interval, it considers the session dead and closes it.
- Last Will and Testament (LWT). At connection time the client registers a message that the broker will publish on its behalf if the session ends ungracefully. Combined with a retained “online” message published at connect, any subscriber can read the current connection state of a device from a single topic.
The second layer belongs to the monitoring platform, and it complements the first. A device can hold a perfectly healthy TCP session and still publish nothing useful because a sensor has failed or a process has hung. Supervising the regular arrival of telemetry, and raising an alarm when the expected data stops arriving, catches what session state alone cannot. Together, the two layers make it possible to detect connectivity problems and silent devices quickly, which is the core of any serious MQTT monitoring practice.
MQTT does not replace Modbus or OPC UA
A second frequent misunderstanding is that MQTT displaces established industrial protocols. It does not. They do different jobs and are normally deployed together.
- Modbus and OPC UA are how you access data inside industrial equipment: PLC registers, automation systems, machine controllers.
- MQTT is how that data is distributed efficiently to everything that needs it: monitoring platforms, analytics, predictive maintenance and cloud services.
A typical architecture has an edge gateway reading Modbus registers or browsing an OPC UA address space on the plant floor, then publishing the values over MQTT towards the upper layers. The same environment therefore runs several protocols working together, each at the layer where it fits best.
The real problem: protocol diversity
This coexistence is exactly where the operational difficulty lies. A single organization may be running:
- network devices monitored through SNMP, ICMP, Netflow, Syslog
- applications and controllers exposing REST APIs,
- industrial systems speaking Modbus or OPC UA,
- IoT sensors publishing telemetry over MQTT.
Managing each technology with its own tool creates information silos, increases operational complexity and makes it very hard to see the overall state of the infrastructure. When a production line stops reporting, the cause may be the sensor, the gateway, the broker, the access switch or the WAN link behind it. With four separate consoles, establishing which one it is becomes manual correlation under pressure.
MQTT vs SNMP: One observability model for IT, OT and IoT
At Viewtinet we believe modern observability has to go well beyond traditional monitoring. Organizations need a platform that integrates information from any technology, whatever protocol it uses. To sum up, bringing IT infrastructure, OT environments and IoT devices into a single observability model is what allows teams to correlate events, detect incidents faster and obtain a unified view of the business.
In practice that means collecting data in whichever way each source requires, whether by polling devices, listening for what they send or subscribing to the telemetry they emit, and then normalizing and enriching it so that an MQTT reading from a temperature sensor can sit on the same dashboard, and feed the same alarms, as the SNMP health of the switch that connects it.

Conclusion: MQTT vs SNMP is not a choice
For a network engineer, the practical answer to MQTT vs SNMP is that you will run both. SNMP remains the right tool for network infrastructure. MQTT is how the growing population of connected devices reports what it measures. Modbus and OPC UA continue to do their job on the plant floor.
MQTT is a good illustration of how communications are evolving in an increasingly connected world. More than an IoT-specific protocol, it has become a key building block for scalable, efficient architectures that can absorb the volume of information produced by today’s smart devices and tomorrow’s. The task for operations teams is to make sure all of it lands in one place where it can be correlated.
Want to see IT and IoT data in a single view? Contact the Viewtinet team for a demo.