User guide

Trap Parser Adding a Trap Definition from MIBs to a Parser File:
AlliedView NMS Administration Guide (Built-in Browsers - SNMP MIB and CWMP)
11-12
Source - $Source
Help URL - $GenericType-$SpecificType.html
Message - $*
4. Click Add to add the Trap parser to the Parser List.
5. Repeat from Step 1 to add more Match Criteria for incoming Traps.
6. Save the current parser criteria into a parser file using the Save button.
7. After saving, the parser file is displayed on the Parser File text field.
8. Close the Trap Parser Editor. A parser file is now created.
11.8.3 Adding a Trap Definition from MIBs to a Parser File:
1. Choose the MIB file (standard or any other) in the MIB File text field.
2. The setting of the MIB is automatically shown on the MatchCriteria and Output Event parameters sections.
If any modification is made after saving to a file, you must click Mod below the Trap list box, and then choose the same file
from the Save option. This saves the modified information into the same file.
11.8.4 Filtering Incoming Traps
1. Create the parser file.
2. In the Trap Viewer window, load the parser file that is created.
Note: The parser files are saved with .parser extensions
3. Start the Trap Viewer. Now, the Trap Viewer will filter all the incoming traps according to the Match Criteria.
11.8.5 Setting Trap Parser Parameters
The following are some important fields and information on how to configure them for a given trap.
name - The name of the parser.
severity - This is used to specify the state of an event, which determines the severity shown in the ListTraps. This severity
determines how a fault is affected by this event. The type of this filed is an integer ranging from 0 to 6.
0 is for All.
1 is for Critical.
2 is for Major.
3 is for Minor.
4 is for Warning.
5 is for Clear.
6 is for Info. By default 6 will be assigned.
textDefn - This is the message text seen for this event in the ListTraps and logs.
categoryDefn - This is a type of the trap that can be used to categorize trap events.
helpDefn - The associated document for this trap.
ST - This is the specific type of the trap that has values from 0-64K.
GT - This is the generic type of the trap that has values from 0-6.
enterprise - This is the enterprise OID of the trap.
For example, you can try the following:
This command sends the trap using the sendtrap application (from the agent 192.168.1.1 at port 4001).