Re: [c-nsp] eem-script problem

2019-01-04 Thread Peter Rathlev
On Fri, 2019-01-04 at 00:34 +0100, Peter Rathlev wrote: > When testing on IOS 15.2 it seems that the regular expression has an > implicit anchor in the beginning ("^"). If you don't mind the extra > whitespace in front of the result then a short version is: > > action 1.02 regexp ".+CRC"

Re: [c-nsp] eem-script problem

2019-01-03 Thread Peter Rathlev
On Thu, 2019-01-03 at 11:30 +0100, Robert Hass wrote: > event manager applet blah2 authorization bypass > event syslog pattern "%CLEAR-5-COUNTERS: .*" > action 0.01 syslog msg "blah2 script" > action 0.02 cli command "enable" > action 0.03 cli command "term exec prompt timestamp" > action

[c-nsp] eem-script problem

2019-01-03 Thread Robert Hass
Hi I have below EEM script running at CSR1K: event manager applet blah2 authorization bypass event syslog pattern "%CLEAR-5-COUNTERS: .*" action 0.01 syslog msg "blah2 script" action 0.02 cli command "enable" action 0.03 cli command "term exec prompt timestamp" action 0.04 cli command "term