Creating the monitor table index

When you create monitor table entries, specify the appropriate index value. The index is composed of:

The OwnerIndex is expressed in the following format, where character is in ASCII decimal form:

length.character.character...

For example, the value u1 is expressed as 2.117.31. The PolicyRuleIndex that maps to the policy name value is the index into the slapm2PolicyRuleTable.

The Network SLAPM2 subagent creates an entry in the slapm2PolicyRuleTable to represent a policy rule. The index value for this entry is arbitrary and assigned by the subagent. Corresponding entries in the other MIB tables, including the monitor table, contain the index value that maps to the entry in the name table.

To assist you in creating the index for the monitor table entries, note that the index value used in the slapm2PolicyRuleStatsTable entries consist of the last value used in the monitor table index, namely the PolicyRuleIndex. Thus, you can walk through the policy statistics table using the following command:

osnmp -v walk slapm2PolicyRuleStatsTable

Then, cut and paste the index value from the PolicyRuleStatsTable and add an OwnerIndex of your choosing at the beginning of the index.

For the above example, the complete index using an OwnerIndex of u1 is:

2.117.31.3
 |       +--- name table index value (PolicyRuleIndex)
 +----------- length + "u1" (OwnerIndex)