summaryrefslogtreecommitdiffstats
path: root/monitor/barometer_install_script.sh
diff options
context:
space:
mode:
authorYang Yu <Gabriel.yuyang@huawei.com>2018-05-02 12:14:49 +0800
committerYu Yang (Gabriel) <Gabriel.yuyang@huawei.com>2018-05-03 08:08:54 +0000
commit14add4c9ee3c3114a92ee6c8cf6a6f677ec386a8 (patch)
treee63f6b7eba22a907197341bc03efd9fdebc19a40 /monitor/barometer_install_script.sh
parentbb0af04f78e264c2500a574e2c48f249a2fa5bd2 (diff)
Style-check for monitoring scripts
Fix the style-check errors for monitoring scripts. In another patch, the scripts will be restructured according the dicretory structure. Change-Id: I4149b18177fa1bdeb1b12a84ecad3d7d0b78260b Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com> (cherry picked from commit 742fc9ab94ede1187c9146e5336e28fe84d510c5)
Diffstat (limited to 'monitor/barometer_install_script.sh')
-rw-r--r--monitor/barometer_install_script.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/monitor/barometer_install_script.sh b/monitor/barometer_install_script.sh
new file mode 100644
index 00000000..b0abbb90
--- /dev/null
+++ b/monitor/barometer_install_script.sh
@@ -0,0 +1,5 @@
+docker pull opnfv/barometer
+sudo docker run --name bottlenecks-barometer-server -tid --net=host -v `pwd`/../src/collectd_sample_configs:/opt/collectd/etc/collectd.conf.d \
+-v /home/opnfv/bottlenecks/monitor/barometer_collectd.conf:/src/barometer/src/collectd/collectd/src/collectd.conf \
+-v /etc/barometer_config/barometer_client_collectd.conf:/opt/collectd/etc/collectd.conf \
+-v /var/run:/var/run -v /tmp:/tmp --privileged opnfv/barometer /run_collectd.sh