Add/Copy Custom Index
You can expand the system performance monitoring function by adding or copying custom indexes.
Operation Procedure
- Click the Resource tab and select Performance Management > Global Index Settings to enter the global index list page.
- Click Add, or click the
icon for the custom index, and then select Copy. The Add Custom Index window opens.
- Type the index name, measurement, index type, instance label (definition OID), and formula.
- Click OK.
Parameters
- Name: Name of the custom index.
- Measurement: Select the Predefined option next to this field and select a measurement from the Predefined list.
- Type: Specify the form of the index. An index is in the form of [index1[0|2]:NAME:TYPE:LENGTH].[index2[0|2]:NAME:TYPE:LENGTH].
Multiple levels of indexes are separated by using periods (.). You can enter an index type or click Select Type to select an index type.
If you click Select Type to select an index type, you must manually enter the index definition OID.
- Level: Specify indexN in the index form. Select 1 for a non-hierarchical index.
Select a level as need for a hierarchical index. A maximum of 5 levels are supported.
- Mode: Specify [0|2] in the index form. 0 indicates a non-table node.
2 indicates a specific index.
- Name: Specify NAME in the index form.
- Type: Specify TYPE in the index form.
1 indicates integer, 2 indicates OID string, 3 indicates IP address,
4 indicates printable string, and 5 indicates MAC address.
- Length: Specify LENGTH in the index form.
This field indicates the index length.
You can select 0 for an integer type index or non-hierarchical index.
- OID: Specify the OID of the index node description (ifDescr).
OIDs of multiple levels of indexes are separated by using colons (:).
If no index description exists, use 0. For example, OID 1.3.6.1.2.1.2.2.1.2 represents the interface description.
When an instance is resolved, the interface information can be resolved from this item.
You can enter an index definition OID or click Select OID to select an OID from the MIB tree.
- Formula: Specify the index formula, which indicates the MIB node to be monitored and the calculation algorithm.
When the index formula is a single MIB node, you can click Select OID to select an OID from the MIB tree or manually enter the MIB OID.
When multiple MIB nodes are involved, you must manually enter the index formula.
- Example index types:
- Non-table node index: This example uses the route entry drop rate as an example. The MIB node dot1dTpLearnedEntryDiscards is a non-table node, and the node is integer type. Therefore, the index type is [index1[0]:dot1dTpLearnedEntryDiscards:1:0]. When the index does not have a description, you can set the OID to 0. The corresponding index formula is (1.3.6.1.2.1.17.4.1-1.3.6.1.2.1.17.4.1')/t.
- Table node level-1 index: This example uses the bandwidth usage (half duplex) as an example. In this example, the interface bandwidth usage uses the object in the ifTable of MIB-2 interface group. ifIndex is the index object in the table, and uniquely identifies a network interface by using a number. ifDescr is the text description of an interface. The detailed information of an interface can be resolved from the ifIndex and ifDescr of the interface. Therefore, the index type is [index1[2]:Interface:1:0], and the index definition OID is 1.3.6.1.2.1.2.2.1.2.
- Table node multi-level index: This example describes how to set a hierarchical index and uses the (3COM) CPU usage index as an example. For this index, the frame number, slot number, and cpu_id of the CPU must be obtained as index values. Therefore, the index type is [index1[2]:Frame:1:0].[index2[2]:Slot:1:0].[index3[2]:CPU:1:0], a three-level index. The index formula is 1.3.6.1.4.1.43.45.1.6.3.4.1.2.
Precautions
- Test the custom index before adding it to the performance indexes to ensure the validity.
- For information about setting the index type, see the device's MIB Companion document, which provides detailed information about MIB OIDs and indexes.
Related Topics