cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1436
Views
0
Helpful
3
Replies
Highlighted

Unknow Name Space

Hello All,

Can someone please explain the following error when I try to run a script and how to fix it?

unknown namespace in import pattern "::cisco::eem::*"

I have attached the script

Cheers

Carlton

3 REPLIES 3
Highlighted

OK,

I changed the script a little, see attached, but when I run the script from command prompt I get the following:

R5#tclsh flash:EmailTemplate.tcl

*Mar  1 02:54:51.047: %SYS-5-CONFIG_I: Configured from console by console

invalid command name "::cisco::eem::event_register_syslog"

    while executing

"::cisco::eem::event_register_syslog pattern "%LINEPROTO-5-UPDOWN:""

    (file "flash:EmailTemplate.tcl" line 3)

Any help would be greatly appreciated...

Cheers

Carlton

Highlighted

Can I get some help with this?

Cheers

Carlton

Highlighted
Hall of Fame Cisco Employee

It sounds like you're trying to run an EEM policy through tclsh.  This will not work.  While EEM and tclsh uses the same interpreter, they use different environments.

This policy you have will only work with that syslog trigger.  Why do you want to execute this through tclsh?

Content for Community-Ad