Hi Elizabeth,
try to customize the sampleemailscript.pl from RME 3.5 and earlier.
The RME 4.x help stated the following:
Guidelines for Writing Automated Script
To write an automated script:
Copy the sampleEmailScript.pl from RME 3.5 or older to the new RME 4.1 server and put this file in:
For Solaris:
/var/adm/CSCOpx/files/scripts/syslog directory
For Windows:
NSMROOT/files/scripts/syslog
Write a shell script for Solaris or .bat file for Windows in the same directory.
Here is an example shell script (called syslog-email.sh) for UNIX:
#!/bin/sh
/opt/CSCOpx/bin/perl /var/adm/CSCOpx/files/scripts/syslog/sampleEmailScript.pl -text_message "MEssage:
$2 from device: $1" -email_ids nobody@nowhere.com -subject "Syslog Message: $2" -from nobody@nowhere.com -smtp mail-server-name.nowhere.com
For Windows, replace $1 and $2 with %1 and %2 and change the directory accordingly.
I hope that helps a bit.
P.S. just remove the .txt extension from the attached file. Cisco Forum does not like pearl scripts as attachments.
;-D
Best regards,
Frank