In your first applet that triggers on the syslog pattern have it actually configure the second EEM applet that then runs on a countdown timer:
action 4.0 cli command "event timer countodwn 30 Basically, have one applet configure the second and have the second configure a third that would remove the second after it runs the commands. Depending on if you only want it to run once, which a countdown timer does. Rodney On Sun, Jun 14, 2009 at 11:57:23PM -0500, Rishi Kochar wrote: > hi > i work for cisco in UC technology. > i am very new to EEM. I dont deal with scripting at all but i have to create > one for one of my customers > > I have created an event manager applet with an ' > #event syslog pattern <pattern>. > Now after matching the pattern i want it wait for a countdown timer and the > execute certain cli commands. > what's the easiest way to do it ? > i think with EEM i cant make my first applet to call another applet which > has a countdown timer because with > #action 1.0 cli command "event manager run <2nd applet>" > in this 2nd applet should have "event none" if i need to call it manually > from 1st applet but thats not the case because 2nd applet will have a > countdown timer as its event. > > any help on this would be highly appreciated > > thanks and regards > inder > _______________________________________________ > cisco-nsp mailing list [email protected] > https://puck.nether.net/mailman/listinfo/cisco-nsp > archive at http://puck.nether.net/pipermail/cisco-nsp/ _______________________________________________ cisco-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/
