Hi,
I'm trying to configure on Nexus 9000 EEM Scripting by matching on syslog pattern.
the syslog is about interface is down, this is the syslog i get when there is violation - %ETHPORT-5-IF_DOWN_LINK_FAILURE
and what I'm configured:
event manager applet port-shut
event syslog pattern '%ETHPORT-5-IF_DOWN_LINK_FAILURE: Interface Ethernet1/3 is down'
action 1 cli line "enable"
action 2 cli line "Configure terminal"
action 3 cli line "Interface Ethernet1/3"
action 4 cli line "shut"
action 5 cli line "end"
action 6 cli line "exit"
action 7 syslog msg “Interface Eth1/3 will be Disabled by script"
When I recommend disconnecting the interface the Triger is not working, I can see the %ETHPORT-5-IF_DOWN_LINK_FAILURE in logs but the EEM scripting is not working. What am I doing wrong?