Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
monitors:ip-sla [2014/04/16 14:10] – [My Monitor (CHANGEME)] pk21 | monitors:ip-sla [2014/04/16 14:37] (current) – [Installation] pk21 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
^ Author | [[ pk21@hotmail.com | Peter Kok ]] | | ^ Author | [[ pk21@hotmail.com | Peter Kok ]] | | ||
Line 17: | Line 17: | ||
=== Server side === | === Server side === | ||
- | Copy paste the script to $BBHOME/ | + | Copy paste the script to $BBHOME/ |
Don´t forget to change the COMMUNITY variable if needed! | Don´t forget to change the COMMUNITY variable if needed! | ||
Line 24: | Line 24: | ||
[sla] | [sla] | ||
ENVFILE $BBHOME/ | ENVFILE $BBHOME/ | ||
- | CMD $BBHOME/ | + | CMD $BBHOME/ |
- | LOGFILE $BBSERVERLOGS/ | + | LOGFILE $BBSERVERLOGS/ |
INTERVAL 5m | INTERVAL 5m | ||
+ | </ | ||
+ | |||
+ | Configure a cisco device with an ip sla check | ||
+ | < | ||
+ | conf t | ||
+ | ip sla 3 | ||
+ | icmp-echo 172.16.1.2 | ||
+ | | ||
+ | tag iBGP | ||
+ | ip sla schedule 3 life forever start-time now | ||
</ | </ | ||
Now all you have to do is configure ip sla on your cisco equipment and add the tag //sla// after the host you want to monitor in your bb-hosts file | Now all you have to do is configure ip sla on your cisco equipment and add the tag //sla// after the host you want to monitor in your bb-hosts file | ||
===== Source ===== | ===== Source ===== | ||
- | ==== sla.sh ==== | + | ==== ip-sla.sh ==== |
<hidden onHidden=" | <hidden onHidden=" |