CORD-782: monitoring service support for external analytics apps

Change-Id: I81a850642b19340d6bd7fb9528e936d7ab6e6e82
diff --git a/xos/test/monitoring_in_loop.sh b/xos/test/monitoring_in_loop.sh
new file mode 100755
index 0000000..d35e545
--- /dev/null
+++ b/xos/test/monitoring_in_loop.sh
@@ -0,0 +1,10 @@
+while [[ 1 ]]; do
+    make cord-monitoringservice
+    if [[ $? -ne 0 ]]; then
+       echo "fail!"
+       exit
+    fi
+    docker cp kill-mon.py cordpod_xos_ui_1:/opt/xos/
+    sudo docker exec -it cordpod_xos_ui_1 python /opt/xos/kill-mon.py
+    sleep 10s
+done