Submit a ticketCall us

Webinar: Web Help Desk for HR, Facilities and Accounting Departments
This webinar will focus on use cases for HR, Facilities and Accounting.

Having a unified ticketing and asset management system for all the departments in your company can provide end-users with a seamless experience and make things easier for your IT team. Yet, with different business tasks and objectives, many departments don’t fully understand the capabilities of Web Help Desk and how the software can be customized for effective use in their departments.
Register 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: 85 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