Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.




blueprint:

NorthStar (v5) and HealthBot (v2.0.2)

video


NortStar or NS login

https://<ip@>:<port>         (   admin // Juniper!1    )

HealthBot

SSH or https://                      ( jcluser // Juniper!1    )

Add Allowed network prefixCommands menu >> Add Allowed network prefix >>> <enter ip address of client>


Start healthbot_listener.py

( Webhook + trigger NS to put the link in maintenance)

Log into ssh jcluser@CentOS  jcluser@healthbot     ( jcluser // Juniper!1  )

It's a webhook, listen for HB messages 


Usage:

jcluser@ubuntu:~$ ls
healthbot-2.0.2-1.deb self_healing


jcluser@ubuntu:~$ cd self_healing/

jcluser@ubuntu:~/self_healing$ python healthbot_listener.py


add delay 

Log into the CentOS  ( jcluser / Juniper!1 )

su -   ( Juniper!1 )

./add_delay.sh


[root@CentOS ~]# more add_delay.sh
tc qdisc add dev eth1 root netem delay 300ms
echo "300 ms delay added between vMX-5 and vMX-6"
[root@CentOS ~]#



healthbot_listener.py output