Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Call from TCl to other TCL

Hello I try found way call from TCL script to other TCL.

I try do it over EEM.

Script1.tcl {

...

#on finish file

action_syslog msg "call script \n"

}

on Cisco EEM:

event manager applet scriptstart

event tag 1.0 syslog pattern "%HA_EM-6-LOG: Script1.tcl: call script"

action 1 policy Script2.tcl

This example not work, may be it not correct or I not found more easy way.

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Call from TCl to other TCL

This won't work.  EEM canot intercept its own syslog messages.  If you want to call another policy try making the second policy a "none" policy then using "action_policy" from Tcl to invoke it.

2 REPLIES
Cisco Employee

Call from TCl to other TCL

This won't work.  EEM canot intercept its own syslog messages.  If you want to call another policy try making the second policy a "none" policy then using "action_policy" from Tcl to invoke it.

New Member

Call from TCl to other TCL

Thank you Joseph.

254
Views
0
Helpful
2
Replies