IP SLA Monitor web proxy full config

Get an explanation here: http://wp.me/p223az-4k

!
ip sla monitor 101
type http operation get url http://www.cisco.com/ name-server 10.10.10.53 cache disable proxy http://10.10.10.10:8181/
freq 60
timeout 1000
threshold 3000
tag IWSVA-50
ip sla monitor schedule 101 life forever start-time now
!
ip sla monitor 201
type http operation get url http://www.cisco.com/ name-server 10.10.10.53 cache disable proxy http://10.10.10.10:8181/
freq 60
timeout 1000
threshold 3000
tag IWSVA-51
ip sla monitor schedule 102 life forever start-time now
!
ip sla monitor 102
type http operation get url http://www.hp.com/ name-server 10.10.10.53 cache disable proxy http://10.10.10.10:8181/
freq 60
timeout 1000
threshold 3000
tag IWSVA-50
ip sla monitor schedule 102 life forever start-time now
!
ip sla monitor 202
type http operation get url http://www.hp.com/ name-server 10.10.10.53 cache disable proxy http://10.10.10.11:8181/
freq 60
timeout 1000
threshold 3000
tag IWSVA-51
ip sla monitor schedule 202 life forever start-time now
!
ip sla monitor 103
type http operation get url http://www.facebook.com/ name-server 10.10.10.53 cache disable proxy http://10.10.10.11:8181/
freq 60
timeout 5000
threshold 10000
tag IWSVA-50
ip sla monitor schedule 103 life forever start-time now
!
ip sla monitor 203
type http operation get url http://www.facebook.com/ name-server 10.10.10.53 cache disable proxy http://10.10.10.11:8181/
freq 60
timeout 5000
threshold 10000
tag IWSVA-51
ip sla monitor schedule 203 life forever start-time now
!
!
track 101 rtr 101 state
delay down 5
!
track 102 rtr 102 state
delay down 5
!
track 103 rtr 103 state
delay down 5
!
track 201 rtr 201 state
delay down 5
!
track 202 rtr 202 state
delay down 5
!
track 203 rtr 203 state
delay down 5
!
event manager environment _email_server 25.25.25.25
event manager environment _email_to noc@lab.local
event manager environment _email_from router@ip-sla.local
!
!
event manager applet PROXY_101_LATENCY_ALERT
event syslog pattern “%TRACKING-5-STATE: 101 rtr 101 state Up->Down”
action 1.0 syslog msg “SLOW PROXY SERVICE”
action 1.1 mail server “$_email_server” to “$_email_to” from “$_email_from” subject “Latency Alert” body “Web Proxy 10.10.10.10 CISCO Latency Alert”
!
event manager applet PROXY_102_LATENCY_ALERT
event syslog pattern “%TRACKING-5-STATE: 102 rtr 102 state Up->Down”
action 1.0 syslog msg “SLOW PROXY SERVICE”
action 1.1 mail server “$_email_server” to “$_email_to” from “$_email_from” subject “Latency Alert” body “Web Proxy 10.10.10.10 HP Latency Alert”
!
event manager applet PROXY_103_LATENCY_ALERT
event syslog pattern “%TRACKING-5-STATE: 103 rtr 103 state Up->Down”
action 1.0 syslog msg “SLOW PROXY SERVICE”
action 1.1 mail server “$_email_server” to “$_email_to” from “$_email_from” subject “Latency Alert” body “Web Proxy 10.10.10.10 FACEBOOK Latency Alert”
!
event manager applet PROXY_201_LATENCY_ALERT
event syslog pattern “%TRACKING-5-STATE: 201 rtr 201 state Up->Down”
action 1.0 syslog msg “SLOW PROXY SERVICE”
action 1.1 mail server “$_email_server” to “$_email_to” from “$_email_from” subject “Latency Alert” body “Web Proxy 10.10.10.11 CISCO Latency Alert”
!
event manager applet PROXY_202_LATENCY_ALERT
event syslog pattern “%TRACKING-5-STATE: 202 rtr 202 state Up->Down”
action 1.0 syslog msg “SLOW PROXY SERVICE”
action 1.1 mail server “$_email_server” to “$_email_to” from “$_email_from” subject “Latency Alert” body “Web Proxy 10.10.10.11 HP Latency Alert”
!
event manager applet PROXY_203_LATENCY_ALERT
event syslog pattern “%TRACKING-5-STATE: 203 rtr 203 state Up->Down”
action 1.0 syslog msg “SLOW PROXY SERVICE”
action 1.1 mail server “$_email_server” to “$_email_to” from “$_email_from” subject “Latency Alert” body “Web Proxy 10.10.10.11 FACEBOOK Latency Alert”
!
!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s