Cisco EEM IP SLA Assistance

Hello Experts,

This questions needs someone familiar with Cisco EEM and IP SLA.

The following is a combination of EEM and IP SLA. The problem is nothing happens and I'm not getting any error messages.

I wonder if someone could take a look and let me know what I might be doing wrong?

ip sla 102
 icmp-echo 180.80.8.4 source-ip 180.80.8.3
 request-data-size 24
 tos 30  
 timeout 60000
 threshold 200
 owner NetFlow
ip sla schedule 102 life forever start-time pending ageout 60
ip sla reaction-configuration 102 react timeout threshold-type immediate
ip sla enable reaction-alerts



event manager applet ISPCheck
 event ipsla operation-id 102 reaction-type timeout
 action 1.0 if $_ipsla_condition eq Occurred
 action 2.0  cli command "enable"
 action 3.0  info type routername
 action 4.0  cli command "show ip int brief"
 action 5.0  mail server "150.50.5.2" to "carlton@keyloop.co.uk" from "carlton@keyloop.co.uk" subject "Internet Gateway Down on: $_info_routername" body "$_cli_result"
 action 6.0 else
 action 7.0  syslog msg "Primary Internet Circuit UP"
 action 8.0  mail server "150.50.5.2" to "carlton@keyloop.co.uk" from "carlton@keyloop.co.uk" subject "Internet Gateway UP on: $_info_routername" body "$_cli_result"
 action 9.0 end
!

Cheers

Carlton
cpatte7372Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
InfamusConnect With a Mentor Commented:
ip sla schedule 102 life forever start-time pending ageout 60

Pending ----->. Now
0
 
cpatte7372Author Commented:
Infamus,

That worked like a dream.

cheers mate.
0
 
cpatte7372Author Commented:
Brilliant!
0
 
InfamusCommented:
Glad it worked.

: )
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.