cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1412
Views
5
Helpful
3
Replies

Email alerts Event Manager IP SLA

ohareka70
Level 3
Level 3

My IP SLA setup is working and i am tracking 4 interfaces from my Layer 3 cisco 3850 switch

ip sla 100 101 111 112
track 100 ip sla 100 reachability etc
Default routes are working ip route 0.0.0.0 0.0.0.0 10.x.x.x track 100 etc

 

1- HOW DO I GET EVENTS FROM ALL 4 IP SLA TRACKS AND NOT JUST IP SLA100

 

ip sla reaction-configuration 100 react timeout threshold-type immediate
ip sla logging traps
ip sla enable reaction-alerts

-----------------------------------
CISCO EVENT MANAGER CONFIG
-------------------------

event manager environment _email_server 10.x.x.x
event manager environment _email_from jjjjjjj@
event manager environment _email_to uuuuuuuu@

event manager applet ISPCheck
event ipsla reaction-type timeout operation-id 100
action 1.0 if $_ipsla_condition eq Occurred
action 1.1  syslog msg "Primary Internet Circuit Down"
action 1.2  mail server "$_email_server" to "$_email_to" from "$_email_from" subject "Circuit Down" body "Primary Internet Circuit Down."
action 1.3 else
action 1.4  syslog msg "Primary Internet Circuit UP"
action 1.5  mail server "$_email_server" to "$_email_to" from "$_email_from" subject "Circuit UP" body "Primary Internet Circuit UP."
action 1.6 end

 

2- I ALSO WANT TO GET SNMPC TRAPS WORKING TO MY SNMPC SERVER

3 Replies 3

Alex Pfeil
Level 7
Level 7
I think you want to do a Boolean or. So, if multiple SLAs are down, then you want to do something in event manager?

Yes - i want to monitor 4 different IP SLA's

 

Good news is that the script i have in above works and i did get the email alerts (i shut down an interface out of hours for a few seconds to test it).   Maybe i just create 4 separate ISPChecks for 100, 101, 111 and 112  

 

event manager applet ISPCheck
event ipsla reaction-type timeout operation-id 100

balaji.bandi
Hall of Fame
Hall of Fame
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: