Commit 4f2a98a4 authored by Binh Nguyen's avatar Binh Nguyen

Start ospf monitors on routers

parent dbe74e95
domain=$(echo $hn | awk -F'.' '{print $2"."$3"."$4"."$5}')
for i in 2 3 4
echo -e "\n========================="
echo "Start OSPF monitor on node $i ..."
#ssh node$i.$domain "cd ~/sripv6-linux/ospf_monitor/; nohup sudo ./ 2>&1 &"
ssh node$i.$domain "cd ~/sripv6-linux/ospf_monitor/; sudo screen -S ospf_monitor -d -m ./"
echo "DONE starting OSPF monitors on all nodes!"
exit 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment