Hello
I have one requirement to convert SNMP Traps to an E mail Notification
I have created one and I need to add few details in mail body like below
Source Host Name : ${Node.Caption}
Source IP Address : ${IP}
Destination Host :
I was able to retrieve first two variables but not able to get the last one (Destination Host) which is available in Trap Message 'spsActiveAlarmSource.1:= testnode'
any idea how to grep this only value from trap Message and place next to 'Destination Host' later it should be like 'Destination Host : testnode'
Trap Message
SNMP Trap
Received
Time:6/7/2018 2:57:15 AM
Source:XXXXX
Community:XXXXXX
Variable
Bindings
sysUpTime:= 6 hours 56 minutes 45.05 seconds (2500505)
snmpTrapOID:= XXXXX
spsActiveAlarmSource.1:= testnode
spsActiveAlarmSeverity.1:= 4
spsActiveAlarmDescr.1:= Tunnel state is Down
spsActiveAlarmTypeId.1:=XXXXX
spsActiveAlarmSeqNum.1:=XXXXXX