Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Cisco EEM IP SLA Assistance

Posted on 2014-01-31
4
Medium Priority
?
1,151 Views
Last Modified: 2014-01-31
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
0
Comment
Question by:cpatte7372
  • 2
  • 2
4 Comments
 
LVL 12

Accepted Solution

by:
Infamus earned 2000 total points
ID: 39823928
ip sla schedule 102 life forever start-time pending ageout 60

Pending ----->. Now
0
 

Author Comment

by:cpatte7372
ID: 39824696
Infamus,

That worked like a dream.

cheers mate.
0
 

Author Closing Comment

by:cpatte7372
ID: 39824698
Brilliant!
0
 
LVL 12

Expert Comment

by:Infamus
ID: 39824721
Glad it worked.

: )
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

New Server 172.16.200.2  was moved from behind Router R2 f0/1 to behind router R1 int f/01 and has now address 172.16.100.2. But we want users still to be able to connected to it by old IP. How to do it ? We can used destination NAT (DNAT).  In DNAT…
We've been using the Cisco/Linksys RV042 for years as: - an internet Gateway - a site-to-site VPN device - a leased line site-to-site subnet-to-subnet interface (And, here I'm assuming that any RV0xx behaves the same way as an RV042.  So that's …
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question