cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post

LA - Get system name from TRAP Varbind for email

Hi,

I hope this is the correct place to post 🙂

I'd like to be able to get the system name from 'Varbind element with name' to display in an alert email subject?

SNMPv2-MIB:coldStart : sysUpTime = 1 minute 47.11 seconds, fnSysSerial = #####, sysName = FIREWALL-1
 
Source Time - 7/1/2020 11:11:31 AM
SNMPv2-MIB:coldStart
Trap OID - 1.3.6.1.6.3.1.1.5.1
 
Varbind element with name
sysUpTime (1.3.6.1.2.1.1.3.0) - 1 minute 47.11 seconds
sysName (1.3.6.1.2.1.1.5.0) FIREWALL-2
 
Any help would be appricated
 
Thanks
Lewis
0 Kudos
1 Reply
MVP
MVP

Currently the only way to filter the content of a trap message is a custom SWQL query.

The following thread goes into details with some examples:
https://thwack.solarwinds.com/t5/LA-Discussions/Editing-Alert-Message-using-SQL-Using-SUBSTRING/m-p/...
0 Kudos