Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| monitors:ip-sla [2014/04/16 13:49] – created 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/ | ||
| + | Don´t forget to change the COMMUNITY variable if needed! | ||
| + | |||
| + | Add the lines below to your hobbitlaunch.cfg | ||
| + | < | ||
| + | [sla] | ||
| + | ENVFILE $BBHOME/ | ||
| + | CMD $BBHOME/ | ||
| + | LOGFILE $BBSERVERLOGS/ | ||
| + | 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 ===== | ||
| - | ==== myscript.sh ==== | + | ==== ip-sla.sh ==== |
| <hidden onHidden=" | <hidden onHidden=" | ||
| Line 106: | Line 133: | ||
| ===== Credits ===== | ===== Credits ===== | ||
| + | Written by Peter Kok(pk21@hotmail.com) | ||
| ===== Changelog ===== | ===== Changelog ===== | ||
| - | * **YYYY-MM-DD** | + | * **2014-04-16** |
| * Initial release | * Initial release | ||