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
committerYu Yang (Gabriel) <Gabriel.yuyang@huawei.com>2018-05-03 08:08:54 +0000
commit14add4c9ee3c3114a92ee6c8cf6a6f677ec386a8 (patch)
treee63f6b7eba22a907197341bc03efd9fdebc19a40 /monitor/install_collectd_client.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/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