SNMP (Simple Network Management Protocol) is a standard protocol that lets a monitoring system read status and performance data from network devices, such as the traffic on each port, CPU load, temperature and errors, and lets those devices send alerts when something goes wrong. Most managed switches, business firewalls and routers support it, along with many access points, printers and UPS network cards, which makes it the most common way to build traffic graphs and health alerts for an office network.
For a business, the version matters. SNMP versions 1 and 2c protect access with a shared password called a community string, which crosses the network in plain text. Version 3 adds proper user authentication and encryption, and it is the one to use wherever your equipment supports it.
How SNMP works
SNMP has three parts.
- The manager. The monitoring system, sometimes called the network management system (NMS). It can be software on a server in your office, a cloud service or a tool your IT provider runs.
- The agent. A small piece of software built into each device's firmware. It answers the manager's requests and sends notifications when it is set up to.
- The MIB. The Management Information Base, a structured catalog of everything a device can report. Each item has an object identifier (OID), a dotted string of numbers. For example, 1.3.6.1.2.1.1.3.0 is the device's uptime in the standard system group, and the standard interface MIBs define the traffic counters for each port. Vendors publish their own MIBs for model-specific items such as fan speed or battery charge.
The manager and agents talk over UDP. By default, agents listen for requests on port 161 and managers listen for notifications on port 162. The operations are simple: the manager can get a value, walk through a range of values, set a value on the device, and receive notifications the device sends on its own.
Polling and traps
SNMP gathers data in two directions, and most monitoring uses both.
Polling is the manager asking. Every few minutes it requests the values it cares about from each device and stores the answers. Interface traffic counters only ever go up, so the manager works out the rate by comparing two readings. That is how utilization graphs are drawn.
Traps are the device speaking first. When a port goes down, a power supply fails or a UPS switches to battery, the agent sends a short message to the manager straight away, without waiting to be asked. Traps travel over UDP with no acknowledgment, so one can be lost on a busy or failing network. Versions 2c and 3 add informs, which the manager confirms, so the device can resend if no confirmation arrives.
Because a trap can go missing, and a device that has lost power cannot send one at all, good monitoring polls as well. A device that stops answering polls is an alert in itself.
Worked illustration: from counters to a traffic graph
Illustration only; the numbers are made up.
A monitoring system polls the internet-facing port of an office firewall every five minutes (300 seconds) and reads the 64-bit counter of bytes received.
| Poll time | Bytes received (counter) |
|---|---|
| 10:00 | 812,400,000,000 |
| 10:05 | 816,150,000,000 |
| Difference | 3,750,000,000 bytes in 300 seconds |
That is 12,500,000 bytes per second. Multiply by 8 for bits and the firewall averaged 100 Mbps of download over those five minutes. The graph shows throughput, the data actually moving, which our throughput page explains in more detail.
Two lessons follow. First, the result is a five-minute average, so a link that was completely full for one minute and idle for four shows up at about a fifth of its capacity. Second, use the 64-bit counters. The older 32-bit counters roll over after about 4.3 billion bytes, which a fully loaded 1 Gbps link reaches in roughly 34 seconds, so a five-minute poll would miss whole rollovers. Version 1 cannot read 64-bit counters; versions 2c and 3 can.
SNMP v1 vs v2c vs v3
| v1 | v2c | v3 | |
|---|---|---|---|
| Access control | Community string, sent in plain text | Community string, sent in plain text | Named users with authentication and optional encryption |
| 64-bit counters | No | Yes | Yes |
| Bulk requests | No | Yes | Yes |
| Acknowledged notifications (informs) | No | Yes | Yes |
| Where you see it | Very old equipment; avoid | Still common, especially on older and low-cost gear | Recommended wherever the device supports it |
Version 3 has three security levels: no authentication and no privacy, authentication only, and authentication with privacy (encryption). Use authentication with privacy, and choose the strongest options the device offers, typically a SHA-based hash and AES encryption. If a device only supports v2c, keep it read-only, give it a long and unique community string, and limit it to the management network.
How to switch SNMP on safely
- Change the defaults. Many devices have historically shipped with community strings such as "public" for read-only and "private" for read-write access. Remove or replace them before the device goes into service.
- Stay read-only. Write access lets anyone with the credentials change configuration. Monitoring rarely needs it, so leave it off.
- Allow only the monitoring server. Use the device's access list so it accepts SNMP requests from your manager's address and nothing else.
- Keep it off the internet. Never answer SNMP on the WAN interface. Open SNMP agents are scanned for constantly, they reveal details about your network, and attackers have abused them to amplify denial-of-service traffic.
- Use a management network. Put device management addresses on their own VLAN, apart from staff and guest traffic, as our guide to VLANs and network segmentation describes.
- Keep firmware current. SNMP agents have had security flaws like any other software, and vendors fix them in updates.
- Write it down. Record which devices have SNMP on, which version and which credentials, so the setup survives a change of IT staff.
Locking down management protocols like this is a standard part of a cybersecurity review.
Where SNMP fits in an office network
In a small or mid-sized office, these are the devices that usually support SNMP, and what is worth reading from each:
- Firewall or router: traffic on the internet ports, CPU and memory, and VPN tunnel status. This is where circuit utilization usually comes from.
- Managed switches: per-port traffic and errors, link speed, PoE power draw, fans and power supplies. Unmanaged switches have no agent at all, one reason our guide to managed vs unmanaged switches favors managed ones at the core.
- Wireless access points or their controller: client counts and radio status, though many cloud-managed systems report through the vendor's dashboard instead.
- UPS units with a network management card: on-battery events, remaining runtime and failed battery self-tests, as covered in our UPS guide for network equipment.
- Printers: toner levels and paper jams are SNMP data too.
The carrier's equipment is a separate case. On many business circuits, the carrier monitors its own router or network interface device and keeps SNMP access to itself. Some carriers offer a portal with utilization graphs, or read-only SNMP on a router they manage for you; it varies, so ask. Polling your own firewall's WAN port gives you the same traffic numbers either way.
SNMP compared with other monitoring data
| Method | What it tells you | Good for |
|---|---|---|
| SNMP polling | Counters and status: traffic per port, CPU, errors, temperature | Utilization graphs, capacity planning, device health |
| SNMP traps and informs | Events as they happen | Fast alerts on port, power and hardware faults |
| Flow data (NetFlow, IPFIX, sFlow) | Which devices talked to which destinations, and how much | Finding what is using the bandwidth |
| Syslog | Text event logs: logins, configuration changes, blocked connections | Security review and finding the cause of an outage |
| Ping and synthetic tests | Reachability, latency, loss and application response | Whether users can actually get work done |
| Vendor cloud dashboards | Whatever the vendor's platform collects | Cloud-managed equipment, often with little setup |
SNMP tells you how busy and how healthy each device is. The other sources tell you who is using the network, why something failed and what users experienced. Our guide to network monitoring for small business covers how to combine them and set alerts that people act on. Larger networks are also moving toward streaming telemetry, where devices push data continuously, but SNMP remains the common ground across brands and ages of equipment.
How FiberX helps
When FiberX quotes a circuit or a managed network, we ask each carrier whether it provides utilization reporting or SNMP access on its equipment and what its monitoring will alert you about, so you know what you will be able to see after installation. The carrier pays us, so there is no markup. Request a quote, or call or text 478-758-8091.