|
The Virtual Table Model facilitates custom Columns and Headers for displaying MIB Columnar data. The columnar data could be from one or more MIB groups.
The steps in Virtual Table Model:
Determine the columnar data for which the data need to be collected
Determine the custom column headers
Virtual Table Model Wizard
The Virtual Table Model Wizard can be invoked with the following steps:
Load RFC 1213 MIB.
Select the Virtual Table Model Node from the XML Tree
Right-click this Node.This brings up a pop up menu
Select Add.
Select the nodes 'ifType', 'ifDescr','ifAdminStatus' and 'ifOperStatus' under 'ifTable' of the XML tree and add them to the Selected Nodes List.

The specifications in the first screen determine the columnar variables for which the data is to be collected. Select the required columns from the XML Tree and add them to the Selected Nodes list.

The second screen gives an uneditable code area displaying the code that is generated for the data collection specifications.
At the end of this process, we get a Virtual Table Model Bean, which collects the data for the selected columnar data .
Changing Column Header names of VTM
The Custom Headers for the Columnar Data can be specified by setting the property in the property form. This can be configured only on a specific instance of VTM being dropped in the draw area. Then invoke the property dialog by doing right-click the mouse and clicking on 'Property Form'. In the property dialog select 'Column Headers' property and set the column header names of a Virtual Table Model.
Limitation of the VTM
Virtual Table Model has a feature of combining more than one table from agent and showing it as a single JTable User Interface. This feature has a limitation , i.e , this will work only when all the table have 1 to 1 mapping. This means for the columns to be added in the VTM you have to ensure that it has equal number of rows.
|