cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
765
Views
0
Helpful
1
Replies

LMS 2.5.1- syslog email notification question

ngholmieh
Level 1
Level 1

Hi-

can I use the variable $D to include the name of the device in the subject line of a syslog email notification message in RME?

Thanks!

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

$D and $M are only used in URLs. The body of the email with contain the text:

Syslog message generated from device DEVICE: MESSAGE

In addition to any other text you want. If you want a more flexible email, you can use the Automated Action script instead. We used to ship a sampleEmailScript.pl script with LMS 2.2 that could still be used, or you can write your own email gateway script.

The script is passed two arguments, the name of the device and the message text respectively.