H3C Technologies H3C Intelligent Management Center User Manual

Page 681

Advertising
background image

667

If the number following the next to the last dot "." is "0", it is replaced with a "6" so that it can be

used as the generic ID.

If the number following the next to the last dot is "6", IMC leaves this value unchanged as the
generic ID.

If the number following the next to the last dot is neither "0" nor "6", the system adds ".6" after the
number and use it as the generic ID.
For example following the rules outlined above,
1.3.6.1.4.1.2011.2.23.11.2.0.2001 is converted to 1.3.6.1.4.1.2011.2.23.11.2.6.2001
1.3.6.1.4.1.2011.2.23.11.2.2001 is converted to 1.3.6.1.4.1.2011.2.23.11.2.6.2001
and 1.3.6.1.4.1.2011.2.23.11.2.6.2001 l remains unchanged.

4.

Enter a unique name for this trap in the Trap Name field. Maximum length is 64 characters.

5.

Enter the enterprise name for this trap in the Enterprise Name field.
If the enterprise ID already exists in IMC, the enterprise name you enter must match the Enterprise
Name defined in IMC.

6.

Select the Trap Level (corresponds with Severity Level and Alarm Level) from the Trap Level list.

Trap levels include Critical, Major, Minor, Warning, and Info.

7.

Enter a description for this trap in the Description field.
The Description field is used to describe the condition that triggered the trap. A brief and clear

description of the condition is important for support teams in addressing and communicating faults
in the network infrastructure. You can also use the description of the condition that is described in

the trap itself.

Using macros in the description field

You can use predefined macros in the Description field. The system replaces the macros with actual
values after receiving traps.
The code below provides an example of macro usage in the Trap Description field:

the CPU usage ($4) of device $3 ($2) exceeds the threshold ($5).

Supported macros, listed in

Table 31

, include:

Table 31 Predefined Macro table

Macro Value

$n

This macro displays the value of a trap variable in the format of a character string, in the
range 1 to 99

$+n

Displays the name of a trap variable in the format of a character string, in the range 1 to
99

$O Trap

name

$o Trap

OID

$R

Trap source name

$a

Trap source IP address

$s

Trap severity level

$x

Date when the trap was generated

$X

Time when the trap was generated

$@

Time when the numerical trap was generated

Advertising