cpatte7372
asked on
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Brilliant!
Glad it worked.
: )
: )
ASKER
That worked like a dream.
cheers mate.