Hi,
I'm trying to parse a trap viewer message and the variables dont appear to be working as intended. I'm wondering if someone could help.
if i do ${MESSAGE} as a whole it comes back with:
SNMP Trap
Received Time:2/5/2014 1:11:00 PM
Source:XXXXXXXXXXX
Community:MPLS
Variable Bindings
pwe3.2.1.2.1.38.1073993729:= 2
pwe3.2.1.2.1.38.1073993729:= 2
fdryPwServiceType:= 3
snAgGblTrapMessage:= MPLS: VPLS HEcustomertest peer is down
snmpTrapOID:= FOUNDRY-SN-ROOT-MIB:pwe3.2.0.1 (1.3.6.1.4.1.1991.3.1.2.0.1)
sysUpTime:= 228 days 21 hours 21 minutes 10.45 seconds (1977607045)
experimental.1057.1.0:= 10.0.126.4
snmpTrapEnterprise:= FOUNDRY-SN-ROOT-MIB:pwe3.2 (1.3.6.1.4.1.1991.3.1.2)
I'd like to parse out the messages as MPLS: VPLS HEcustomertest peer is down
I've tried ${snAgGblTrapMessage} and ${snAgGblTrapMessage:}
I've data is located in the trapvarbinds table in the OIDValue_Unicode field, but i can't get it to display...any ideas?