Initial Commit. File Created

This commit is contained in:
Grzegorz Budny 2019-07-10 12:33:20 +02:00
parent 2d0698a7e0
commit cada5b5c90

View file

@ -1,5 +1,21 @@
#log print where message~"telnet"
#log print file=
:global SendEmail do={
:local smtpServer #smtp server IP
:local smtpPort #smtp port
:local from #sender email
:local to #recipeints email
:local cc #cc email
:local subject #email subject
:local body #email body
:log info "..::Sending email notification::..";
tool e-mail send server=$smtpServer port=$smtpPort from=$from to=$to cc=$cc subject=$subject body=$body;
}
#Here script starts
#filter log and if match send alert via email