Getting the Values of SNMP Variables


 

Retrieving the value of an SNMP variable using GET operation

The operation is used by the SNMP manager applications to retrieve one or more values from the managed objects maintained by the SNMP agent. The applications typically perform an SNMP GET request by providing the host name of the agent and one or more OIDs along with the specific instance of the OID. The agent responds with a return value or with an error.

 

The SNMP GET operation is normally used to query the scalar variables in a MIB. Each scalar variable is identified by its OID and its instance. The instance is used to identify the specific instance of the scalar variable. It is specified by appending a ".0" to its OID. To proceed

  1. Load the MIB file. For more read the Loading MIBs section.

  2. Select the desired node in the MIB tree.

  3. Click the Get button.

Result

Retrieving values of multiple SNMP variables using GETNEXT operation

The operation retrieves the value of the next OID in the tree. The GETNEXT operation is particularly useful for retrieving the table data and also for variables that cannot be specifically named. It is used for traversing the MIB tree.To proceed

  1. Follow the steps as given for retrieving the value of an SNMP Variable.

  2. Click the Get Next button.

Result

Retrieving SNMP variables values using in GETBULK operation

The operation is normally used for retrieving large amount of data, particularly from large tables if your SNMP version in your network is v2c or v3. The GETBULK operation performs a continuous GETNEXT operation based on the Max-Repetitions value. The NonRepeaters value determines the number of variables in the variable list for which a simple GETNEXT operation has to be done. For the remaining variables, the continuous GETNEXT operation is done based on the Max-Repetitions value.

 

To proceed

  1. Select the SNMP variable from the list and click Get Bulk.

  2. The number of consecutive variables fetched, will depend on the value specified in the Max-Repetitions box. By default it is set to 50.

Result

Note

 Note: To configure SNMP properties click Settings located at the top right corner or click Admin -> Settings. For details read the Configuring SNMP section.

 

Copyright © 2004-2012, ZOHO Corp. All Rights Reserved.
ManageEngine