bosun.org@v0.0.0-20210513094433-e25bc3e69a1f/docker/tsdb/start_opentsdb.sh (about)

     1  #!/bin/bash
     2  echo "Sleeping for 30 seconds to give HBase time to warm up"
     3  sleep 30 
     4  
     5  if [ ! -e ${TSDB_DIR}/opentsdb_tables_created.txt ]; then
     6  	echo "creating tsdb tables"
     7  	bash ${TSDB_DIR}/create_tsdb_tables.sh
     8  	echo "created tsdb tables"
     9  fi
    10  
    11  echo "starting opentsdb"
    12  ${TSDB_DIR}/build/tsdb tsd --port=4242 --staticroot=${TSDB_DIR}/build/staticroot --cachedir=/tmp --auto-metric --config=${TSDB_DIR}/opentsdb.conf