H3C Technologies H3C Intelligent Management Center User Manual

Page 752

Advertising
background image

738

a.

Click Select OID.

b.

Locate the section of the MIB tree that contains the object you want to use for this global index.

To expand your view of the MIB, click the arrow key to the left of the MIB Tree.

c.

Continue to expand using this arrow key until you have located the object you want to use.

d.

Click the MIB object you want to use to select it.

e.

Click OK.

9.

Enter the MIB object to be monitored and the calculation algorithm in the Formula field.
The results calculated by this algorithm are the performance data of the monitored instance.
The characters that can be used in this field include + - * / t ' ( ), where "t" must be lowercase,
indicating the query interval.
The quotation mark (') must be placed immediately to the right of the OID, indicating the value of
the previous poll. This is used to offset the calculation.

An example of a valid entry in the Formula field would be:

1.3.6.1.2.1.2.2.1.10

This formula instructs IMC to use the MIB object, ifInOctets (inbound traffic of the interface) as the

returned value for this monitor. This formula would return the data collected for ifInOctets for one

poll cycle. In this example, since ifInOctets is an object in the ifEntry table, the Instance Label
(Definition OID) for this formula would be ifDescr (1.3.6.1.2.1.2.2.1.2) and the Type field could

be [index1[2]:Interface:1:0].

Another example of a valid entry in the Formula field would be:

1.3.6.1.2.1.2.2.1.10-1.3.6.1.2.1.2.2.1.10'

1.3.6.1.2.1.2.2.1.10' indicates the value of ifInOctets in the first poll. 1.3.6.1.2.1.2.2.1.10

indicates the value of ifInOctets in the second poll. The formula
1.3.6.1.2.1.2.2.1.10-1.3.6.1.2.1.2.2.1.10' shows the difference of ifInOctets in the two polls.
In this example, since ifInOctets is an object in the ifEntry table, the Instance Label (Definition OID)
for this formula would be ifDescr (1.3.6.1.2.1.2.2.1.2) and the Type field could be

[index1[2]:Interface:1:0].

A third example of a valid entry in the Formula field would be:

(1.3.6.1.2.1.2.2.1.10-1.3.6.1.2.1.2.2.1.10')/t

The formula (1.3.6.1.2.1.2.2.1.10-1.3.6.1.2.1.2.2.1.10')/t indicates that the value you get by

diving the difference by the polling interval is the inbound traffic rate of the interface.
In this example, since ifInOctets is an object in the ifEntry table, the Instance Label (Definition OID)

for this formula would be ifDescr (1.3.6.1.2.1.2.2.1.2) and the Type field could be
[index1[2]:Interface:1:0].

As a final example, provided below is a formula for calculating bandwidth utilization for a half
duplex link. In this example, the
Measurement field contains %
Type field contains [index1[2]:Interface:1:0]
Instance Label (Definition OID) field contains 1.3.6.1.2.1.2.2.1.2
Formula field contains
(((1.3.6.1.2.1.2.2.1.10-1.3.6.1.2.1.2.2.1.10')+(1.3.6.1.2.1.2.2.1.16-1.3.6.1.2.1.2.2.1.16')

)*8*100/(t*1.3.6.1.2.1.2.2.1.5))

Here is the same formula using MIB object names rather than the Object ID.
(((ifInOctets-ifInOctets')+( ifOutOctets-ifOutOctets'))*8*100/(t*ifSpeed))

Advertising