Previous Page: MIB Issues
PDFDownload White Paper

5 Common MIB Issues

4) Typos in the MIB

Bad syntax in a MIB file can create errors when compiling. Exactly how much goes wrong will vary based upon the compiler that your are using. Some are less forgiving than others. Although typos in the MIB can take many forms, one of the most common is the incorrectly escaped file comment.

File comments in MIBs are offset from the rest of the file by double hyphens (--) and generally continue until the end of the line. An important exception is that comments can be ended by a second pair of hyphens on the same line. Any text on the same line after this second pair of hyphens will be parsed by the compiler as if it were normal MIB code, causing an error.

IMPORTS--This comment is correctly inserted
DisplayString--As is this one--BUT THIS ONE WILL CAUSE AN ERROR!

As you can see in the above example, the first comment does not create a problem, nor does the second. The third, however, appears outside of the second double hyphen (--) on the same line and is considered part of the MIB code during compiling. The compiler will not know how to handle it, and an error will be generated. Look for this and other typos in your MIB files

If you'd like additional information about MIB files to identify other kinds of typos, please read Demystifying the MIB, another white paper available at no cost from DPS Telecom

5) "Pre-compiled" MIBs

Using "pre-compiled" MIBs is not always the best choice. MIBs that were compiled for a target platform other than your manager can create a range of potential problems. The MIB files you use should be text-readable before you compile them to your manager.

Don't Forget the Obvious

You don't want to spend any unnecessary time searching for complex problems, so be sure to check for these simple and "obvious" ones during

  1. Is your remote device sending traps to the IP address of the target manager?
  2. Is your remote device provisioned to send traps?
  3. Is your IP addressing, including subnet and gateway, set up correctly on the remote device?
  4. Is your IP routing configuration (DNS or static) correct?

Get More From SNMP with Sets and Gets

Issuing Set and Get messages from your SNMP manager can enhance your monitoring and give you more control over your remote sites.

A Set message allows the manager to request a change be made to the value of a specific variable. The agent will then respond with a SetResponse message indicating the change has been made or an error indication as to why the change cannot be made. To be set, a variable must have read-writable characteristics defined in the MIB. Errors commonly occur when attempting to set a variable that has read-only attributes.

The Get and GetNext messages allow the SNMP manager to request information for a specific variable. The agent, upon receiving a Get or GetNext message, will issue a GetResponse message to the manager with either the information requested or an error indication as to why the request cannot be processed.

Next Page: Problems with Firewalls
PDFDownload White Paper

Get a Custom Application Diagram of Your Perfect-Fit Monitoring System

There is no other network on the planet that is exactly like yours. For that reason, you need to build a monitoring system that's the right fit for you.

"Buying more than you need" and "buying less than you need" are real risks. You also have to think about training, tech support, and upgrade availability.

Send me a quick online message about what you're trying to accomplish. I'll work with you to build a custom PDF application diagram that's a perfect fit for your network.

Make an Informed Decision

Your network isn't off-the-shelf.

Your monitoring system shouldn't be, either.

Customized monitoring application drawing

We'll walk you through this with a customized monitoring diagram.

Just tell us what you're trying to accomplish with remote monitoring.

Get a Custom Diagram