How to generate SNMP traps. This functionality can also
be used for testing rules files generated by MIB Manager.
Procedure
To generate an SNMP trap:
- Click
Trap.
- In the Destination Address field,
specify the host name or IP address of a computer running an SNMP
Trapd service.
- In the Destination Port field, specify
the UDP port that the SNMP Trapd service is listening on.
- In the Community field, specify
a valid string for the Trapd manager.
- Depending on the type of trap that you are generating,
a Variable Bindings section might be visible
in the Generate an SNMP Trap window. The available
fields in the Variable Bindings section also
depend on the type of trap being generated.
Mouse over
the Variable Bindings field names for details
of the field value syntax. You can specify multiple values, separated
by commas. These values will be randomly chosen to build the trap.
- In the Repeat Metric field, specify
the number of traps (from 1 to 1000) that can be generated.
If
you specify a large number, traps are generated in rapid succession
and can cause an alarm storm at the Trapd manager. For values greater
than one (> 1), and for values that are specified as semicolon separated
lists, MIB Manager randomly selects from the specified lists and generates
traps with the arbitrary values presented as varbinds.
- Click Execute to generate the trap.
Results
The
Result field in the
Generate
an SNMP Trap window will indicate whether the trap was
sent successfully.