monitors:ip-sla

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
monitors:ip-sla [2014/04/16 13:50] – [Installation] pk21monitors:ip-sla [2014/04/16 14:37] (current) – [Installation] pk21
Line 1: Line 1:
-====== My Monitor (CHANGEME) ======+====== Cisco IP Sla ======
  
 ^ 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:
 +{{:monitors:ip-sla-screenshot.jpg?200|}}
 ===== Installation ===== ===== Installation =====
  
 === Server side === === Server side ===
-Add this to your hobbitlaunch.cfg+ 
 +Copy paste the script to $BBHOME/ext/ip-sla.sh 
 +Don´t forget to change the COMMUNITY variable if needed! 
 + 
 +Add the lines below to your hobbitlaunch.cfg 
 +<code>
 [sla] [sla]
         ENVFILE $BBHOME/etc/hobbitserver.cfg         ENVFILE $BBHOME/etc/hobbitserver.cfg
-        CMD $BBHOME/ext/sla.sh +        CMD $BBHOME/ext/ip-sla.sh 
-        LOGFILE $BBSERVERLOGS/sla.log+        LOGFILE $BBSERVERLOGS/ip-sla.log
         INTERVAL 5m         INTERVAL 5m
 +</code>
 +
 +Configure a cisco device with an ip sla check
 +<code>
 +conf t
 + ip sla 3
 +  icmp-echo 172.16.1.2
 +   threshold 200
 +   tag iBGP
 + ip sla schedule 3 life forever start-time now
 +</code>
  
 +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="Show Code ⇲" onVisible="Hide Code ⇱"> <hidden onHidden="Show Code ⇲" onVisible="Hide Code ⇱">
Line 112: Line 133:
  
 ===== Credits ===== ===== Credits =====
 +Written by Peter Kok(pk21@hotmail.com)
 ===== Changelog ===== ===== Changelog =====
  
-  * **YYYY-MM-DD**+  * **2014-04-16**
     * Initial release     * Initial release
  
  • monitors/ip-sla.1397656229.txt.gz
  • Last modified: 2014/04/16 13:50
  • by pk21