summaryrefslogtreecommitdiffstats
path: root/monitor/install_collectd_client.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/install_collectd_client.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/install_collectd_client.sh')
-rw-r--r--monitor/install_collectd_client.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/monitor/install_collectd_client.sh b/monitor/install_collectd_client.sh
new file mode 100644
index 00000000..3861f987
--- /dev/null
+++ b/monitor/install_collectd_client.sh
@@ -0,0 +1,8 @@
+MONITOR_CONFIG="/etc/collectd_config"
+
+# Collectd
+sudo docker run --name bottlenecks-automated-collectd -d \
+ --privileged \
+ -v ${MONITOR_CONFIG}:/etc/collectd:ro \
+ -v /proc:/mnt/proc:ro \
+ fr3nd/collectd:5.5.0-1