Documentation forSolarWinds

SNMP Trap Editor tool

The Trap Editor tool in ETS for the Desktop can be used to modify SNMP Trap templates used by the SolarWinds Network Management Tools. By using the Trap Editor you can create SNMP traps of almost any structure, including mimicking traps generated by network hardware. If you are using a network management solution, consider the ease with which you can now mimic critical alerts sent to that solution, ensuring it responds correctly when receiving such an alert.

Open the SNMP Trap Editor tool

  • To launch the tool from the Toolset Launch Pad, locate the SNMP Trap Editor tool and click Launch.

  • You can add the tool to a tab in the Workspace Studio, and access it from there.

  • To launch the tool from the Windows Start menu:

    1. Click Start > All > SolarWinds Engineer's Toolset.

    2. Right-click SNMP Trap Editor, click More, and click Run as administrator.

Add an SNMP trap template

  1. Click File > New Trap.

    The two OIDs required for an SNMP v2 Trap are provided whenever you create a new trap. They are:

    SysUptime (1.3.6.1.2.1.1.3.0) and TrapOID (1.3.6.1.6.3.1.1.4.1.0).

  2. Click Trap > Add OID.

  3. Click browse (…) next to the blank OID column, select an OID, and then click OK.

  4. Select the data to enter from the list in the Data Enter column. Click the cell to enable the list.

  5. If you need to edit a value, click the empty value cell and enter the value. If you select an OID for the data enter, you can browse for the OID.

  6. You can do any of the following:

    • To duplicate a selected OID to a new row, click Edit > Duplicate.

    • To delete a selected OID, click Edit > Delete.

    • To copy a selected OID to the clipboard, click Edit > Copy.

    • To select all values, click Edit > Select All.

    • To add a new row, click Trap > Add OID.

    • To move a highlighted row up or down, click Trap > Shift Up or Trap > Shift Down.

View example traps

To view an example of a trap created with the SNMP Trap Editor, or use an example as a foundation to build your own traps, complete the following:

  1. Click File > Open Trap.

  2. Select one of the following example traps:

    • Example1.trap
    • Orion-Detailed-Alert.trap
    • Orion-Generic-Alert.trap
  3. Click OK.

Send traps

You can test your trap template by sending your new trap to a receiver. If you do not want to send the trap to production equipment, consider sending the trap to the Trap Receiver tool. See SNMP Trap Receiver tool.

  1. Click Trap > Send Trap.
  2. Specify the host name or IP address and the community string of the device to send the trap to.
  3. Click Send.

Export, print, and copy values

After receiving traps, you can transfer trap information to other tools through exporting and copy and paste capabilities. You can also print trap information.

To export traps:

  1. Click File > Export, and then select the type of export.

  2. Select the information to export.

  3. Name the path for the exported information.

To copy traps, click Edit > Copy to copy all displayed values. Or click Edit > Select All, and then click Edit > Copy.

To print results, click File > Print, and then select the information to print.

Copy a trap template to the trap editor

Send a trap from the target device to mimic to the SNMP Trap Receiver, and then save the trap to the folder C:\Program Files\SolarWinds\Common. You can now open this trap template with SNMP Trap Editor. See SNMP Trap Receiver tool.