HP Network Direr Software Products manual Adding Trap Decodes, Where the fields are as follows

Models: Network Direr Software Products

1 924
Download 924 pages 60.07 Kb
Page 887
Image 887

F

ADDING TRAP DECODES

 

You can add your own SNMP trap decodes to 3Com Network Director by editing the file:

<Installation Directory>\templates.ini

3Com Network Director reads this file when it starts, and any trap decodes it contains are added to the built-in trap decodes. If any errors are found in the file then an error is displayed, detailing the type and the location of the error in the file, and the trap decodes contained within the file are ignored.

The updated templates will be used to decode any traps received in the future. However, they will not be applied to traps that have already been received.

If you specify a decode for a trap type which is already handled by Network Director, your decode will override Network Director's built-in decode.

The format of the templates.ini file is as follows:

·The format of each trap decode is:

[OID]

name = <trap name> description = <description> explanation = <explanation> severity = <severity>

where the fields are as follows:

[OID]is the trap’s OID. For example: [1.3.6.1.4.1.43.47.2.1.0.57]. This is used to match up received SNMP traps with this decode.

<trap name> is the name of the trap. For example: linkUp. This appears in the Trap Decode

Page 887
Image 887
HP Network Direr Software Products manual Adding Trap Decodes, Where the fields are as follows