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
committerYang Yu <Gabriel.yuyang@huawei.com>2018-05-02 15:07:48 +0800
commit742fc9ab94ede1187c9146e5336e28fe84d510c5 (patch)
treee63f6b7eba22a907197341bc03efd9fdebc19a40 /monitor/barometer_install_script.sh
parent2833e627cbf31eb89f313ec167f215c48fa70217 (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>
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