Submit a ticketCall us

AnnouncementsChange Is Inevitable

Get valuable help when it comes to tracking and monitoring changes. SolarWinds® Server Configuration Monitor (SCM) is designed to help you: detect, track, and receive alerts when changes occur, correlate system performance against configuration changes, compare server and application configuration against custom baselines, and verify application and system changes.

Learn more.

Home > Success Center > Network Performance Monitor (NPM) > NPM - Knowledgebase Articles > 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

Tags

Classifications

Public