git clone git://github.com/opentsdb/opentsdb.git
CD Opentsdb
./build.sh
Env Compression=none hbase_home=/data/hbase123./src/create_table.sh
In a production environment, it is best to set a compression format, such as Lzo,gzip,snappy.
./src/opentsdb.conf
Tsd.http.cachedir-path to write temporary files to
Tsd.http.staticroot-path to the static GUI files found in./build/staticroot
Tsd.storage.hbase.zk_quorum-if HBase and Zookeeper is not running on the same machine, specify the host and port here.
Copy an opentsdb.conf from SRC to the build directory, and then edit and configure the above three items.
tsdtmp=${tmpdir-'/tmp '}/TSD # for Best performance, make sure
Mkdir-p "$tsdtmp" # Your temporary directory uses TMPFS
./build/tsdb TSD--port=4242
The Cache Directory stores temporary files generated when a graph is requested via the built-in GUI. These files should is purged periodically to free up space. Opentsdb doesn ' t clean up after itself at the this time but there was a script that should being run as a cron at least once a day Located at tools/clean_cache.sh.
OPENTSDB Basic Install