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

    • This operation gets all objects under the selected MIB object, or the specific object if the MIB instance is specified.

    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

    • This operation gets the value of the next object, under the selected MIB variable.