From 25b586b3f364e0b4a12451b64c2ae80790b917b4 Mon Sep 17 00:00:00 2001 From: jiajingbin Date: Wed, 5 Jan 2022 15:21:02 +0800 Subject: [PATCH] add README --- .../agent_dockerfile/README | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 tests/stability-scripts/taosadapter_stability/agent_dockerfile/README diff --git a/tests/stability-scripts/taosadapter_stability/agent_dockerfile/README b/tests/stability-scripts/taosadapter_stability/agent_dockerfile/README new file mode 100644 index 0000000000..efbe185647 --- /dev/null +++ b/tests/stability-scripts/taosadapter_stability/agent_dockerfile/README @@ -0,0 +1,30 @@ +# How to build image +## eg: +cd ./collectd_docker +docker build -t "taosadapter_collectd:v1" . + +# How to run single container +## eg: +cd ./collectd_docker +./run_collectd.sh -h +#Usage: +#1st arg: agent_count +#2nd arg: container_hostname prefix +#3rd arg: TaosadapterIp +#4th arg: TaosadapterPort +#5th arg: CollectdInterval +#eg: ./run_collectd.sh 1 collectd_agent1 172.26.10.86 6047 1 +#eg: ./run_collectd.sh 2 collectd_agent* 172.26.10.86 6047 1 +#rm all: ./run_collectd.sh rm collectd_agent* + +# How to run all container +## You need to edit run_all.sh to set taosadapter ip/port by manual, but count of each agent could be defined in bash_args +./run_all.sh -h +#Usage: +#1st arg: collectd_count +#2nd arg: icinga2_count +#3rd arg: statsd_count +#4th arg: tcollector_count +#5th arg: telegraf_count +#6th arg: node_exporter port range +#eg: ./run_all.sh 10 10 1 10 50 10000:10020 -- GitLab