I'm trying to parse text out of the ${MESSAGE} string and pass it along in the email.
With the default setup this is what I get in the message body (${DateTime} : ${MESSAGETYPE} ${MESSAGE}):
---------------------------------------------
10/24/2010 10:44 PM : SL10-MIB:omnitronix.5.0.110 SNMP Trap
Received Time:10/24/2010 10:44:45 PM
Source:192.168.50.20(192.168.50.20)
Community:public
Variable Bindings
sysUpTime:= 35 days 15 hours 39 minutes 4.39 seconds (308034439)
snmpTrapOID:= SL10-MIB:omnitronix.5.0.110 (1.3.6.1.4.1.3052.5.0.110)
omnitronix.5.3.1.0:= Omnitronix SL81
omnitronix.5.3.3.0:= 03/24 05:25 :: Omnitronix SL81 :: CCU64 (1802194C) :: WANE Demods :: INACTIVE
experimental.1057.1:= 192.168.50.20
snmpTrapEnterprise:= SL10-MIB:omnitronix.5 (1.3.6.1.4.1.3052.5)
---------------------------------------------
But what I'd like to get is just the main body of the alert, which is "WANE Demods :: INACTIVE"
If I could use VB String operators or something similar on the variable I think I could do that, but I can't find any reference to this being possible. I recently migrated from What's Up Gold, and I had this working there, but I'm trying to wrap my brain around the Orion methodology.
Thanks,
Gerry