first commit
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
This commit is contained in:
15
base/opentsdb/2.4.0/docker-entrypoint.sh
Normal file
15
base/opentsdb/2.4.0/docker-entrypoint.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
if [[ "$1" == "" ]]; then
|
||||
/opt/hbase/bin/start-hbase.sh
|
||||
|
||||
cd /usr/share/opentsdb
|
||||
COMPRESSION=NONE HBASE_HOME=/opt/hbase ./tools/create_table.sh
|
||||
# Creating some dummy metrics to test against
|
||||
./bin/tsdb mkmetric sys.cpu.user sys.cpu.nice sys.cpu.idle
|
||||
./bin/tsdb tsd --config /etc/opentsdb/opentsdb.conf
|
||||
fi
|
||||
|
||||
exec "$@"
|
Reference in New Issue
Block a user