10-20-2018 03:24 AM
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
10-20-2018 08:40 AM
10-23-2018 01:24 PM
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
10-21-2018 02:17 PM
Good example can be find here :
https://packetpushers.net/using-ip-sla-delay-feature-to-safely-monitor-lossy-links/
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: