I successfully configurated the "Define Automated Action" for syslog analyser. When ever the router port is down or any configuration of router is change it will generat syslog and based on syslog It is sending email to me. The command on Defind Automated Action I entered is as follows :
C:\CSCOpx\bin\perl C:\CSCOpx\cgi-bin\sysloga\sampleEmailScript.pl -text_message $M "Syslog" -email_ids helpdesk@my_company.com -subject $M -from cw2k@my_company.com -smtp 192.168.1.100
What I am getting is the text which specified in the sampleemailscript.pl. What I looking is the router description + port number + date + time etc
Any body can help me as I am very poor in programing. or any body know that any readymade scripts available for the same.
Regards and Thanks in Advance.