I am trying to figure out a way to send email alerts without the Community string. Our company policy generally dictates that we don't allow sending community strings in email (for security purposes, which is debatable anyway). It appears that the ${MESSAGE} variable contains the community string, but I need the rest of the data in the message.
My current Message looks like this:
${DateTime} : ${MESSAGETYPE} ${MESSAGE}
And Outputs like this:
2/13/2008 9:58 AM : F5-BIGIP-COMMON-MIB:bigipServiceUp SNMP Trap
Received Time:2/13/2008 9:58:39 AM
Source:192.168.1.3(hostname)
Community:xyz
Variable Bindings
sysUpTime:= 56 days 23 hours 25 minutes 23.16 seconds (492272316)
snmpTrapOID:= F5-BIGIP-COMMON-MIB:bigipServiceUp (1.3.6.1.4.1.3375.2.4.0.11)
bigipNotifyObjMsg:= Pool member 192.168.1.2:7010 monitor status up.
bigipNotifyObjNode:= 192.168.1.2
bigipNotifyObjPort:= 7010
I have a VB Script that can strip the community string, but the server's security configuration does not allow for the VB Script to send emails.
Any ideas?
Thanks!