Free SNMP MIB Browser - Frequently Asked Questions

  1. How do I give Hex strings for SET values in MibBrowser?
  2. How do I give Hex values in the ContextEngineID or in the ContextName text fields?
  3. What are the units for timeout and retry values?
  4. How do I set values for the table variables?
  5. In MibBrowser, when I make a request, I get the "NO HOST Specified" error. What should I do?
  6. How can I load multiple MIB files in MibBrowser?
  7. When I ask for 10 rows in an SNMP table, the GETBULK returns only 6 rows and the last attribute of the sixth row is null. The sixth row seems to be truncated. What should I do?
  8. When I start the Trap Viewer, I get the "net bind exception". What should I do?

1. How do I give Hex strings for SET values in MibBrowser?

The SnmpString class accepts Hex strings in a certain format. Any string that starts and ends with a single quote(') is interpreted as an Hex string. The individual bytes should be separated using a colon(:). For example, if you need to enter 0x2a304cab, it should be supplied as '2a:30:4c:ab'.

2. How do I give Hex values in the ContextEngineID or in the ContextName text fields?

The Hex values should start with a 0x or 0X. Therefore, if you set a value for contextID or contextName, it should be 0xHHHHHH.

3. What are the units for timeout and retry values?

Both the timeout and retry values should be given in seconds. If you give the timeout value in milliseconds, it takes much time to get timed out. For example, a value of 1000 waits for 1000 seconds.

4.How do I set values for the table variables?

To create a new row in a table:

If RowStatus is not present in the table definition, you can only modify the existing row by double-clicking the corresponding cell in the table.

5. In MibBrowser, when I make a request, I get the "NO HOST Specified" error. What should I do?

Before making any request, the host name or the IP address of the machine in which the agent is running should be specified in the "Host" text field of MibBrowser.

6. How can I load multiple MIB files in MibBrowser?

To load multiple MIBs, files should be separated by a blank space and be given within double quotes. For example,

java MibBrowserApplication -m "mibs/RFC1213-MIB mibs/RFC1271-MIB mibs/RFC1155-MIB" -h localhost -c public

7. When I ask for 10 rows in an SNMP table, the GETBULK returns only 6 rows and the last attribute of the sixth row is null. The sixth row seems to be truncated. What should I do?

The number of rows you get back may be limited by the PDU size permitted by your agent, manager, or transport

8. When I start the Trap Viewer, I get the "net bind exception". What should I do?

By default the trap browser starts in the port 162. If the port is reserved or if the port is already used by some application this error will occur. You can restart the trap browser by giving the port no of any unused port.