Submit a ticketCall us

Welcome to the NEW Success Center. Search all resources (documentation, videos, training, knowledge base articles) or browse resources by product. If you are unable to find what you are looking for, please contact us at customersuccess@solarwinds.com

 

 

 

 

Home > Success Center > Network Performance Monitor (NPM) > Customize an SNMP Trap email message

Customize an SNMP Trap email message

Table of contents

Overview

This article provides steps to customize an SNMP Trap email message.

Environment

All NPM versions

Steps

1. Go to Start > All Programs > Solarwinds Orion > Syslog and SNMP Traps > Trap Viewer > View > Alerts/Filters Rules.

2. Find the rule you have earlier setup on Alerts/Filters Rules, mark it and then click Edit and OK.

3. On Alert Actions, select Send E-Mail/Pageand then click Edit Actionand OK.

4. On Messageedit the Message as required, and then click OK.

5. Click the Help with Macrosbutton and find the required correct variables.

Example Trap:

Received Time:9/21/2012 10:57:26 AM
Source:1.1.1.1(1.1.1.1)
Community:MTDnetworkread
Variable Bindings
sysUpTime:= 174 days 13 hours 19 minutes 23.19 seconds (1508156319)
snmpTrapOID:= F5-BIGIP-COMMON-MIB:bigipServiceDown (1.3.6.1.4.1.3375.2.4.0.10)
bigipNotifyObjMsg:= Pool /Common/sandbox.troybilt.com member /Common/1.1.1.1:80 monitor status down. [ was up for 0hr:7mins:11sec     
bigipNotifyObjNode:=
bigipNotifyObjPort:=
snmpTrapEnterprise:= F5-BIGIP-COMMON-MIB:bigipNotification (1.3.6.1.4.1.3375.2.4)

To extract the Variable Bindings from the example trap, use ${vbNamex}:${vbDatax}, where x = variable binding row.   

${vbName1}:${vbData1} will yield sysUpTime : 174 days 13 hours 19 minutes 23.19 seconds (1508156319).

Last modified
20:50, 26 Jan 2016

Tags

Classifications

Public