Demystifying SNMP, MIBs, and OIDs: Introducing MIBs Explorer
Good morning, everyone! Have you ever heard of SNMP, MIB, or OID? If you work in the field of Information Technology—or if you're just a bit lazy and love to automate your workflows—the answer is probably yes.Today we are tackling some of the most complicated terms and concepts you face when extracting data from network devices.
Whenever we set up monitoring or need to extrapolate data from our infrastructure, we inevitably crash into the wall of SNMP and the concepts of MIBs and OIDs. While I've covered this in detail regarding the Zabbix world before, today we are doing a fast-paced deep dive. Stick around until the end, because I have a massive surprise that I’ve been building to make your daily monitoring tasks significantly easier!
What is SNMP? Refreshing the Basics
SNMP stands for Simple Network Management Protocol. This protocol has been a reliable standard for at least 15 to 20 years. You'll find it on network devices, IoT objects, and even software—did you know Windows Server has a service that exposes metrics via SNMP?
The entire process starts with a manager, like our beloved Zabbix, which queries devices to discover specific information. But where is this information stored, and how do we actually read it?
Decoding MIBs and OIDs
This is where the Management Information Base (MIB) comes into play. Ultimately, a MIB is a text file that acts as a dictionary. It contains all the information needed to decrypt the raw numbers we extract from the SNMP protocol.
Those numbers are called OIDs (Object Identifiers). OIDs point to every single element within a device—whether it's CPU usage, disk space, or network traffic. Think of an OID as something very similar to an IP address on the internet. It consists of numbers separated by dots, and each dot represents a specific branch in a hierarchical tree.
Everything starts at the root, extending through branches like ISO, Organization, DOD, Internet, Private, and Enterprise. Under the Enterprise branch, each major vendor gets a specific ID. For example, Cisco is 9, and HP is 11. From there, vendors assign further numbers to identify products, models, hardware, and specific subsystems.
The Problem with Raw SNMP Data
Without a MIB, an OID is just a meaningless string of numbers. For instance, if you query a Cisco Catalyst switch and get a state value of "3", what does that actually mean? Using a MIB, we can translate that "3" into human language—in this case, "Active".
Furthermore, MIBs rely on inheritance. A vendor's specific MIB (like Cisco's IF-EXTENSION-MIB) extends standard MIBs (like the official RFC 2863 IF-MIB). You can't just use one MIB in isolation if it requires parent MIBs to fully expand the data. If you've ever run a raw SNMP walk on a device, you know the result is a massive, unintelligible dump of numbers. It’s not clear, and frankly, it’s a headache to parse manually.
The Big Surprise: Introducing MIBs Explorer
Over the past few weeks, during my evenings and weekends, I decided to fix this problem. I wanted to create a repository that not only catalogs MIBs but also transforms raw data into something speaking and actionable. While other solutions exist, I wanted to build something elegant and highly practical for those of us who build monitors for our clients every single day.
I am thrilled to present our brand new tool: MIBs Explorer (available at mibs.quadrata.ae). It features a sleek dark mode interface and is packed with tricks to simplify your daily IT life.
Key Features of MIBs Explorer
- Comprehensive MIB Catalog & Search: You can search by vendor (like Huawei, Pulse Secure, or Fortinet), MIB module, or specific OID. If you find a random OID and don't know what it is, simply paste it in to translate it. You can even search for specific objects like "CPU Stat" across all vendors.
- Intelligent Table Views: When working with network ports, you need to know which columns hold the data for your Zabbix discovery rules. MIBs Explorer breaks down tables (like
ifReceiveAddressTable) so you can easily see the indices, addresses, and statuses. - Read/Write Filtering: SNMP isn't just for reading; you can also write data to change device states. Our tool lets you filter OIDs to see exactly which ones are Read-Only versus Read/Write.
- Live MIB Browser: Have a customer with a proprietary or custom MIB? Drag and drop it directly into the Live MIB Browser. It instantly processes the file, inheriting necessary data, and catalogs it beautifully. For your privacy, everything is ephemeral—it processes locally in your browser session and disappears when you close it.
- Trap Walk Dump Translator: This is a true game-changer. If you have a massive, confusing SNMP walk dump, just paste it into the translator. It instantly extracts the meaning, converting raw values (like an
ifTypeof "6") into speaking values (like "Ethernet-CS-MacD"). - Easy Exporting: Found the MIB you need for Zabbix? Download it directly from the catalog in JSON, CSV, or YAML formats.
Conclusion
MIBs Explorer is already live at mibs.quadrata.ae, and I highly encourage you to try it out. While I will continue adding missing MIBs to the public catalog, please let me know which ones you’d like to see!
If you use SNMP tools every day, I truly believe the Live MIB Browser and Trap Walk Dump Translator will become indispensable parts of your workflow.
Thank you so much for reading. Let me know your thoughts in the comments, and don't forget to connect with me across our communities!
Stay Connected
📺 Subscribe to my YouTube Channel: Quadrata
💬 Join our Telegram Community: ZabbixItalia
A big greeting from Dimitri, bye everyone!