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

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

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

Can I get some help with this?

Cheers

Carlton

Joe Clarke
Cisco Employee
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?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: