01-14-2022 11:05 PM - edited 01-14-2022 11:07 PM
I created this two applet
to execute when that log appear
but it did not executed so what is the wrong
config t event manager applet clearing event syslog pattern "IKE message from 10.121.1.100 has no SA and is not an initialization offer" action 0.5 cli command "enable" action 1.0 cli command "clear crypto gdoi" action 1.1 cli command "yes"
01-16-2022 12:41 AM
any help pls
01-16-2022 12:34 PM
Hello,
you need to add "pattern confirm":
event manager applet clearing
event syslog pattern "IKE message from 10.121.1.100 has no SA and is not an initialization offer"
action 0.5 cli command "enable"
action 1.0 cli command "clear crypto gdoi" pattern "confirm"
action 1.1 cli command "yes"
01-17-2022 03:04 AM - edited 01-17-2022 03:11 AM
didnot work
config t
event manager applet interfacing
event syslog pattern "Interface GigabitEthernet0, changed state to down"
action 1.0 cli command "enable"
action 1.1 cli command "clear crypto gdoi" pattern "confirm"
action 1.2 cli command "yes"
01-17-2022 03:51 AM
Hello,
post the output of:
debug event manager action cli
01-17-2022 03:58 AM
01-17-2022 04:50 AM
Hello,
change the syslog pattern match by adding the '%' and the '*':
config t
event manager applet clearing
event syslog pattern "%*IKE message from 10.121.1.100 has no SA and is not an initialization offer"
action 0.5 cli command "enable"
action 1.0 cli command "clear crypto gdoi" pattern "confirm"
action 1.1 cli command "yes"
01-19-2022 01:27 AM
anthor question what if i want to excute this command
clear crypto gdoi yes
every day at 7am and 2pm by the event manager instead of the syslog what the command to do that .. thanks a lot for your effort
01-19-2022 01:15 AM
any updates ?
01-18-2022 04:46 AM
Not working
01-19-2022 04:42 AM
Hello,
enable debug:
debug event manager action cli
then run the applet manually:
event manager run clearing (or whatever the name of your applet is)
then post the output.
01-19-2022 11:06 PM
01-20-2022 01:17 AM
Hello,
you need to change the applet as below:
event manager applet clearing
event none
action 0.5 cli command "enable"
action 1.0 cli command "clear crypto gdoi" pattern "confirm"
action 1.1 cli command "yes"
01-22-2022 01:24 AM
but with this applet when the commands will excute ?
i mean what will happen to excute the commands
01-23-2022 02:35 AM
Hello,
the 'event none' is just to test if all action are executed. Post the debug output after manually running the applet.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide