cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1124
Views
0
Helpful
1
Replies

EEM Scripting triggered but logs are not stored

pgkolnoc1
Level 1
Level 1

I am  trying to configure an EEM Applet which will trace the tunnel destinations of two GRE tunnels whenever two tracks [10 and 11] are down. The tracks are configured against IP SLA s which send ICMP responses to the tunnel IP at the other end. Below is the configuration of the EEM. But it seems that it is triggering but not storing logs in the bootflash


Below are the details :

CRGBSCE1GW#sh ver | i IOS
Cisco IOS XE Software, Version 03.13.02a.S - Extended Support Release
Cisco IOS Software, ASR1000 Software (PPC_LINUX_IOSD-ADVENTERPRISEK9-M), Version 15.4(3)S2a, RELEASE SOFTWARE (fc2)
Cisco IOS-XE software, Copyright (c) 2005-2015 by cisco Systems, Inc.
All rights reserved. Certain components of Cisco IOS-XE software are
documentation or "License Notice" file accompanying the IOS-XE software,
or the applicable URL provided on the flyer accompanying the IOS-XE
ROM: IOS-XE ROMMON
CRGBSCE1GW#

 

event manager applet PRIMARY
event track 11 state down maxrun 14400000
action 1 cli command "enable"
action 2 cli command "ping 165.225.34.34 source GigabitEthernet0/0/3 rep 10 size 1500 df | append bootflash:PRIMARYPING.txt"
action 3 cli command "traceroute 165.225.34.34 | append bootflash:PRIMARYTRACE.txt"
action 4 cli command "end"

Nov 22 17:38:24.978 UTC: %TRACK-6-STATE: 11 ip sla 11 reachability Up -> Down


CRGBSCE1GW#sh eve man sta policy

Average Maximum
No. Class Triggered Suppressed Run Time Run Time Name
-------------------------------------------------------------------------------
1 applet 1 0 0.257 0.257 PRIMARY
event {} track


CRGBSCE1GW#dir | i PRI
CRGBSCE1GW#
CRGBSCE1GW#
CRGBSCE1GW#

1 Reply 1