Submit a ticketCall us

Get a crash course on Network Monitoring delivered right to your inbox
This free 7-day email course provides a primer to the philosophy, theory, and fundamental concepts involved in IT monitoring. Lessons will explain not only how to perform various monitoring tasks, but why and when you should use them. Sign up now.

Home > Success Center > Orion Platform > Orion Documentation > Orion Platform Administrator Guide > Monitor SNMP traps > What is a Trap Template?

What is a Trap Template?

Table of contents
No headers
Created by Caroline Juszczak, last modified by Magdalena.Markova on Nov 30, 2016

Views: 51 Votes: 2 Revisions: 5

Trap templates are used to format your trap messages. You can use SolarWinds macros or variables in the OID Value and ValueName attributes or call values from your MIB.

The templates are placed in the following locations:

  • /SolarWinds/Common/Orion-Detailed-Alert.trap
  • /SolarWinds/Common/Orion-Generic-Alert.trap
  • /SolarWinds/Orion/ForwardSyslog.trap

The following table describes the OIDs section of the Orion Generic Alert trap template. This is the section you modify to display the information you want in your trap messages.

Template OID line Information returned
OID OID="1.3.6.1.2.1.1.3.0" MIB="RFC1213-MIB" Name="sysUpTime.0" Value="0" DataType="67" ValueName="0" HexValue="" This line displays how long the device has been up.
OID OID="1.3.6.1.6.3.1.1.4.3.0" MIB="SNMPv2-MIB" Name="snmpTrapEnterprise.0" Value="1.3.6.1.4.1.11307" DataType="6" ValueName="enterprises.11307" HexValue="" This line displays the enterprise associated with the trap.
OID OID="1.3.6.1.4.1.11307.10.1" MIB="SNMPv2-SMI" Name="enterprises.11307.10.1" Value="${AlertMessage}" DataType="4" ValueName="${AlertMessage}" HexValue="" When the template is used in an alert, this line displays the alert message associated with the triggered alert.

Add more information by adding another OID element and incrementing the OID.

 
Last modified
01:59, 30 Nov 2016

Tags

Classifications

Public