SNMP Table Operations
SNMP Table
The ManageEngine MibBrowser provides an user-friendly of viewing SNMP Table data. The table data can be viewed in a separate window called SNMP Table Panel. The SNMP Table Panel provides various options for table handling such as adding a row to the existing table, viewing graphs, index editor etc.
The following steps should be taken to view the SNMP table in the SNMP Table Panel:
- specify the proper agent hostname or IP address in the host field of the MibBrowser.
- load the MIB in the MibBrowser
- specify a valid OID - the OID needs to be a Table OID
- the OID can be chosen by browsing the MIB in the MibTree
To view the SNMP Table click on the SNMP TABLE image button or select Snmp Table menu item . This brings up an SnmpTable if the selected OID is a table. In the SnmpTable, clicking on the "Start" button will start getting the columnar objects.
The following options are available in the SNMP Table Panel of the MibBrowser:
- Page - it has two options - origin and index. If the option origin is enabled the table retrieval is done from the origin. If the index is enabled, the user can set a index value in the adjacent text field from which the table will be retrieved.
- Host - the host name can be specified here. The value set here overrides the host name set in the MibBrowser settings dialog box.
- Settings - clicking on this pops up another dialog box where the following options can be set
- Polling Interval - sets the polling interval for the retrieval of the tables. By default it is 5 secs.
- Page Size (Rows) - sets the number of rows to be retrieved.
- No of Column View - sets the number of columns to be displayed in the SNMP Table Panel. Default is 5 columns.
- Port No - sets the port number to which the request is made.
- SNMP version - allows to select the desired versions of the SNMP.
- Retrieval Mode - sets the mode of retrieval for fetching the SNMP tables. By default it is by GET NEXT.
- Start - the start button starts the retrieval of the table.
- Next, Prev - the next and previous is used to navigate the pages (rows) of the table.
- StartPolling - this is used to start the polling of the table. Based on the polling interval value set in the settingsoption, it will retrieve the table periodically.
- StopPolling - this will stop the polling.
- Refresh - this is used to refresh the table periodically. This is useful when the polling option is not used.
- Add - the Add option is used to add a row to the table. Selecting this pops up another window through which the table values can be added.
- Delete - the delete option is used to delete a row from the table
- Graph - the graph option pops up the graph window and starts plotting the selected variable.
- Augmented table - selecting this option replaces the existing table data with the augmented table data.
- Index Editor - this is used to edit and set the index value of the table.
Apart from the above options if we right click on the table header (where the column name is displayed) it will display a menu with options
- edit the header name of the selected column
- view Graph for selected cells
- add a new row to the table
- delete the selected rows from the table
- view the not-accessible index
The above options also can be made use of.
Set Operation using SNMP Table Panel
Using SNMP table, the SET operation for the table variables becomes easier. To set values for the table variables the following steps needs to be followed:
For creating a new row in a table
- In your MIB Module include a table with RowStatus object defined
- Define a column in the table with SYNTAX RowStatus .
- Load the MIB Module in the MibBrowser
- Select the table node from the tree and the table button from the toolbar. It will display the corresponding table
- Right click on the table header (where the name of the column is displayed) it will display a menu with options
- view Graph for selected rows
- add a new row to the table
- delete the selected rows from the table
- Select add a new row to the table. It will display a window for entering the values of the table
- The value for the column with RowStatus syntax should be 4 for creating a new row
- Click ok after entering all the values
If the RowStatus is not present in the table definition then you can only modify the existing row by double clicking the corresponding cell in the table.