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 13:55] – [Installation] 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 9: | Line 9: | ||
| ===== Description ===== | ===== Description ===== | ||
| + | this check will test the status of the ip sla command on cisco equipment to locate connectivity issues in a network. It was created especially to test the icmp-echo option but other tests will probably also work. | ||
| + | |||
| + | See screenshot for the output of the test: | ||
| + | {{: | ||
| ===== Installation ===== | ===== Installation ===== | ||
| === 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! | ||
| - | Add this to your hobbitlaunch.cfg | + | Add the lines below to your hobbitlaunch.cfg |
| < | < | ||
| [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 | ||
| ===== Source ===== | ===== Source ===== | ||
| - | ==== sla.sh ==== | + | ==== ip-sla.sh ==== |
| <hidden onHidden=" | <hidden onHidden=" | ||