SNMP GET

 

The GET operation is performed to get one or more values from the managed objects. Follow the steps to perform this operation.

  1. Load the MIB file. The loading of MIBs and the options available has been dealt with in detail in the Loading and Unloading MIBs section.

  2. Select the desired node in the MIB tree.

  3. Click the "Get SNMP Variable" icon on the toolbar or select Operations-->Get from the menu bar. Alternatively, you can use the shortcut key combination Ctrl + G.

This operation gets all objects under the selected MIB object, or the specific object if the MIB node and instance are specified.

 

Note:

  • If the selected node in the MIB tree has child nodes or columnar nodes, GET operation is performed as an SNMP walk. i.e. the values for all the nodes under that sub-tree are retrieved.

  • In case, if the MIB is not loaded in the MibBrowser, the exact numbered OID with full instance (for example 1.3.0 for sysUpTime) should be specified and the GET operation should be performed.

 

Performing a Multi-Varbind Request

 

To perform the Multi-Varbind request, follow the steps given below.

  1. Make the Multi-Varbind display visible in the MibBrowser. This can be made visible by selecting View-->Display-->Multi-Varbind from the menu. You can also use the General Settings tab in the MibBrowser Settings panel.

  2. Select the leaf node and append the instance by clicking the Add button. It will add the OID given in the Object Identifier field and the value given in the SetValue field both separated with a colon to the list. If value is not given in the SetValue field, NULL value is appended. Similarly, you can add as many number of OIDs and values as required. 

Note: Make sure you select the Multi-varcheck box before doing an SNMP operation for multiple varbind SNMP request. Otherwise, it does a request for the OID in the Object Identifier field.

  1. To delete the varbind(s) from the list, select the varbind(s) from the list and click the Delete button.

  2. To edit the varbind, select a varbind and click the Editbutton. It shows an OID and the value of the varbind in the text fields to edit. Edit it and click the OK button to modify the OID and value or click the Cancel button to restore the old values.

Note: When the request is sent under Multi-varbind mode, it goes as a single PDU irrespective of the number of OIDs added.

 

Note: If you want to communicate with a v3 agent, you have to select the v3 option in the MibBrowser Settings dialog box and also make sure that the v3 parameters are set. Then perform the above steps for each of the operations

 

Finding MIB Nodes

 

You can find a specific node in the MIB tree using the Find dialog box. This is invoked by selecting Edit-->Find Node from the menu. Use the Find in All option in the Find dialog box to find a node in all the loaded MIB modules.



Copyright © 1996-2006, AdventNet Inc. All Rights Reserved.