[c-nsp] EEM event-manager and "event none" question.

luismi asturluismi at gmail.com
Mon Apr 6 13:10:58 EDT 2009


I just did a test right now.
The appelt is running ok without "event none" as expected, seems to be
that is monitoring the track 10 without more manual intervention as I
can see in the output of "sh track 10"



El lun, 06-04-2009 a las 19:49 +0300, Tassos Chatzithomaoglou escribió:
> Event none is used if you want to manually run the eem applet, like you tried to do.
> 
> In your case (i guess you need to test your applet), you can create a 2nd applet that uses event none and just sets the 
> track 10 state to up (action 1.0 track set 10 state up).
> That way you can run the 2nd applet manually which in turn should trigger the 1st applet to run automatically.
> Just keep an eye on any other consequences this manual track state change might have on your router.
> 
> --
> Tassos
> 
> luismi wrote on 06/04/2009 19:18:
> > I have this code...
> > 
> > event manager applet A-EU-UP
> >  event track 10 state up
> >  action 1.0 syslog msg "Track 10 Up. Houston we don't have a problem"
> >  action 2.0 cli command "enable"
> >  action 3.0 cli command "conf t"
> >  action 4.0 cli command "<some commands here>"
> > 
> > I tried to execute...
> > # event manager run  A-EU-UP
> > Embedded Event Manager policy EU-ACEL-BACKUP-OFF not registered with
> > event none Event Detector
> > 
> > What is the reason for that message?
> > Looks like the EEM code is not running.
> > As far as I can read at documentation found with google, I need "event
> > none" at the beginning of the applet, but, what is the reason for it?
> > When "event none" must be used?
> > 
> > 
> > 
> > _______________________________________________
> > cisco-nsp mailing list  cisco-nsp at puck.nether.net
> > https://puck.nether.net/mailman/listinfo/cisco-nsp
> > archive at http://puck.nether.net/pipermail/cisco-nsp/
> > 



More information about the cisco-nsp mailing list