Submit a ticketCall us

Training ClassThe Orion® Platform Instructor-led Classes

Provided by SolarWinds® Academy, these trainings will introduce users to the Orion Platform and its features, management, and navigation. These courses are suitable for users looking to discover new tips, tricks, and ways to adapt their Orion products to better suit their monitoring needs:
Deploying the Orion Platform
Configuring Orion views, maps, and accounts
Configuring Orion alerts and reports

Reserve your seat.

Home > Success Center > Network Performance Monitor (NPM) > NPM - Knowledgebase Articles > Forward Trap action for Alerts - Interface Name Variable issue

Forward Trap action for Alerts - Interface Name Variable issue

Table of contents
Created by Eric Bryant, last modified by Eric Bryant on Oct 19, 2016

Views: 2,184 Votes: 1 Revisions: 4

Updated: July 22, 2016


This article explains how the current Trap/Syslog forward action displays Net-Object names via variables in an Alert and how to configure the following files to conform to the correct new SWIS variables:

C:\Program Files (x86)\SolarWinds\Common\Orion-Detailed-Alert.trap

C:\Program Files (x86)\SolarWinds\Common\Orion-Generic-Alert.trap

C:\Program Files (x86)\SolarWinds\Orion\ForwardSyslog.trap



NPM  version 11.X and later


Trap contains data which are defined in the template selected in the alert action. Currently there are 3 templates which we provide out-of-box:
ForwadSyslog: C:\Program Files (x86)\SolarWinds\Orion\ForwardSyslog.trap
Orion-Detailed-Alert C:\Program Files (x86)\SolarWinds\Common\Orion-Detailed-Alert.trap
Orion-Generic-Alert C:\Program Files (x86)\SolarWinds\Common\Orion-Generic-Alert.trap

These templates may not give you the desired results for Interface names specifically for NPM 11.X and forward. It however is possible to modify them or create new custom templates.



  1. Make a duplicate of Orion-Detailed-Alert.trap and rename it to e.g. Orion-Modified-Alert.trap - or copy ForwardSyslog.trap if you wish and then open the new file in Notepad.
  2. Find the option starting with:

<OID OID="" MIB="SNMPv2-SMI" Name="enterprises.11307.10.2" Value="$ {NodeName}" DataType="4" ValueName="${NodeName}

" ...

   3. Change Value from ${NodeName} to ${Node.Caption}:

<OID OID="" MIB="SNMPv2-SMI" Name="enterprises.11307.10.2" Value="${Node.Caption}" DataType="4" ValueName="${Node.Caption}" ...

   4. The variable ${Node.Caption} as mentioned above works to pull the node name. ${NodeName} works as ${ObjectName} now so it would pull the object alerted off of. This might be Interface name for example.

In case you want to modify the varbinds values, you may do so.

However, if interface name is not populating as it should for a specific varbind, you can change to ${Interface.Caption}  instead of ${ObjectName}. However, as it is documented above if the object you are alerting off of is interface object ${ObjectName} should work as expected

${PropertyName} and ${PropertyValue} are deprecated so if you don't want to receive this text, remove related OIDs from the template.

The template could look like this:
<Application Name="SolarWinds SNMP Trap Engine" Version="1.0.16" Copyright="Copyright 1995-2003 SolarWinds.Net All rigths reserved." ReleaseDate="October 2003" TimeStamp="06-Apr-04 11:51 AM">
<Trap SourceHostname="" SourceIPAddress="" DestinationHostname="" DestinationIPAddress="" CommunityString="" DateTime="12:00:00 AM 12:00 AM">
<OID OID="" MIB="RFC1213-MIB" Name="sysUpTime.0" Value="0" DataType="65" ValueName="0" HexValue=""></OID>
<OID OID="" MIB="SNMPv2-MIB" Name="snmpTrapOID.0" Value="" DataType="6" ValueName="enterprises.11307.10" HexValue=""></OID>
<OID OID="" MIB="SNMPv2-MIB" Name="snmpTrapEnterprise.0" Value="" DataType="6" ValueName="enterprises.11307" HexValue=""></OID>
<OID OID="" MIB="SNMPv2-SMI" Name="enterprises.11307.10.2" Value="${Node.Caption}

" DataType="4" ValueName="$


" HexValue=""></OID>
<OID OID="" MIB="SNMPv2-SMI" Name="enterprises.11307.10.3" Value="$

{Node.IP_Address}" DataType="64" ValueName="${Node.IP_Address}

" HexValue=""></OID>
<OID OID="" MIB="SNMPv2-SMI" Name="enterprises.11307.10.4" Value="$

{Node.NodeID}" DataType="4" ValueName="${Node.NodeID}

" HexValue=""></OID>
<OID OID="" MIB="SNMPv2-SMI" Name="enterprises.11307.10.5" Value="$

{ObjectName}" DataType="4" ValueName="${Interface.Caption}

" HexValue=""></OID>
<OID OID="" MIB="SNMPv2-SMI" Name="enterprises.11307.10.6" Value="$

{ObjectType}" DataType="4" ValueName="${ObjectType}

" HexValue=""></OID>
<OID OID="" MIB="SNMPv2-SMI" Name="enterprises.11307.10.7" Value="$

{NetObjectID}" DataType="4" ValueName="${NetObjectID}

" HexValue=""></OID>
<OID OID="" MIB="SNMPv2-SMI" Name="enterprises.11307.10.1" Value="$

{AlertMessage}" DataType="4" ValueName="${AlertMessage}

" HexValue=""></OID>


More on Alert Actions click here.




Last modified