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

EEM TCL

Theodore April
Frequent Visitor
Frequent Visitor

Hi Guys,

 

Needs some help?

 

I would like to run a EEM an kick off an TCL scrip at a spicific time ( 07:00 ) every Morning

 

The output needs to be emailed to me

EEM

event manager applet Health_Report

event syslog pattern  action 1   mail server "16.8.11.27" to "theoa@icloud.org.uk" from "SISC@icloud.org.uk" subject "Health_Reports " body "current users $_cli_result"

 

 

TCL script below :

tclsh

foreach address {

10.186.246.82 10.184.63.193  } { ping $address repeat 20 size 500 }

 tclquit

 

Assistance would be greatly appreciated

 

 

1 Reply 1

balaji.bandi
Hall of Fame
Hall of Fame

Look at this thread will help you to solve the issue, make sure your smtp allow relay to send email, if not you need to use account to send emails.

 

https://supportforums.cisco.com/t5/eem-scripting/problem-with-eem-tcl-smtp-function/td-p/2571086

 

BB

BB

=====️ Preenayamo Vasudevam ️=====

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help