M
M
Metalhacker972020-03-29 09:29:19
System administration
Metalhacker97, 2020-03-29 09:29:19

Cisco IP SLA and EEM does not work properly. What is the problem?

I already asked this question, but did not receive any answer to it, although I was advised to contact here to resolve this issue. Okay, let's try again.

I configured sla icmp-jitter on the tsiska, in which 100 packets are sent once a minute. sla configuration:

ip sla 2
icmp-jitter 192.168.1.2 source-ip 192.168.1.5 num-packets 100
frequence 60


Set up a reaction to this sla:
ip sla reaction-configuration 2 react packetLoss threshold-value 10 1 threshold-type immediate action-type trapOnly

if more than 10 packets are lost, a log message is generated.
A message to the log is generated, and not even one:
33675893: Mar 25 16:50:54: %RTT-3-IPSLATHRESHOLD: IP SLAs(2): Threshold occurred for packetLoss
33675894: Mar 25 16:50:54: %RTT-3-IPSLATHRESHOLD: IP SLAs(2): Threshold exceeded for packetLos


I set up EEM, which, based on the message in the log, must perform certain actions (for example, the most banal actions are to write a message to the log):
event manager applet test
event syslog pattern "%IP SLAs(2): Threshold occurred for packetLoss"
action 1 syslog msg "EEM test completed successfully"
action 2 cli command "end"
action 3 cli command "exit"


And so this EEM for some reason does not work. When there is a reaction to the SLA, a message appears in the logs, but EEM does not want to work based on this message. What could be the reason?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question