I have started playing around with Event manager applets and have run into something I don't understand.
I have created a small applet that sends an email when an ospf neighbour goes down.
I get the email fine, but the _$syslog_msg text is written in the subject line of the email instead of in the body.
event manager applet ospf
event syslog pattern "Nbr 192.168.1.2 on FastEthernet0 from FULL to DOWN, Neighbor Down:"
Router is a 1801 running IOS version 12.4(15)XY4.
Am I missing something?
This is my bug CSCsl53037. It's fixed in 12.4(15)T2.
Emails originating from Embedded Event Manager (EEM) applets do not have proper subject and body components. Instead, the body is appended to the end of the Subject: line, and the actual body of the message is empty.
This occurs when sending email from EEM applets.
Using an EEM TCL policy instead offers more flexibility when sending email. See http://www.cisco.com/en/US/products/ps6017/products_feature_guide_chapter09186a00804d343f.html for more on writing EEM policies using TCL.