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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

InfamusCommented:
ip sla schedule 102 life forever start-time pending ageout 60

Pending ----->. Now
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cpatte7372Author Commented:
Infamus,

That worked like a dream.

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

: )
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.