cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1427
Views
0
Helpful
2
Replies

Call from TCl to other TCL

peraocompany
Level 1
Level 1

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

Joe Clarke
Cisco Employee
Cisco Employee

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.

View solution in original post

2 Replies 2

Joe Clarke
Cisco Employee
Cisco Employee

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.

Thank you Joseph.