forked from OpenTSDB/opentsdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganize RPM package directories and support chaning to a non-root …
…user. - Renamed and moved src/opentsdb-init-d.sh to build-aux/init.d/opentsdb. - Made the RPM directory structure similar to that of the Debian package. - Copied build-aux/deb/opentsdb.conf to build-aux/rpm/opentsdb.conf. - Copied jars to /usr/share/opentsdb/lib during installation. - Left a TODO for the alternatives. - Changed the owner of files touched by OpenTSDB. *** For the existing OpenTSDB installations, we should modify the init script symbolic links to point to the new target. New directory structure: ----------- rpmbuildroot/usr/share/opentsdb: bin/ etc/ lib/ static/ tools/ rpmbuildroot/usr/share/opentsdb/etc: init.d/ opentsdb/ rpmbuildroot/var/cache: opentsdb/ Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
- Loading branch information
Showing
4 changed files
with
200 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# --------- NETWORK ---------- | ||
# The TCP port TSD should use for communications | ||
# *** REQUIRED *** | ||
tsd.network.port = 4242 | ||
|
||
# The IPv4 network address to bind to, defaults to all addresses | ||
# tsd.network.bind = 0.0.0.0 | ||
|
||
# Enables Nagel's algorithm to reduce the number of packets sent over the | ||
# network, default is True | ||
#tsd.network.tcpnodelay = true | ||
|
||
# Determines whether or not to send keepalive packets to peers, default | ||
# is True | ||
#tsd.network.keepalive = true | ||
|
||
# Determines if the same socket should be used for new connections, default | ||
# is True | ||
#tsd.network.reuseaddress = true | ||
|
||
# Number of worker threads dedicated to Netty, defaults to # of CPUs * 2 | ||
#tsd.network.worker_threads = 8 | ||
|
||
# Whether or not to use NIO or tradditional blocking IO, defaults to True | ||
#tsd.network.async_io = true | ||
|
||
# ----------- HTTP ----------- | ||
# The location of static files for the HTTP GUI interface. | ||
# *** REQUIRED *** | ||
tsd.http.staticroot = /usr/share/opentsdb/static/ | ||
|
||
# Where TSD should write it's cache files to | ||
# *** REQUIRED *** | ||
tsd.http.cachedir = /tmp/opentsdb | ||
|
||
# --------- CORE ---------- | ||
# Whether or not to automatically create UIDs for new metric types, default | ||
# is False | ||
#tsd.core.auto_create_metrics = false | ||
|
||
# Full path to a directory containing plugins for OpenTSDB | ||
tsd.core.plugin_path = /usr/share/opentsdb/plugins | ||
|
||
# --------- STORAGE ---------- | ||
# Whether or not to enable data compaction in HBase, default is True | ||
#tsd.storage.enable_compaction = true | ||
|
||
# How often, in milliseconds, to flush the data point queue to storage, | ||
# default is 1,000 | ||
# tsd.storage.flush_interval = 1000 | ||
|
||
# Name of the HBase table where data points are stored, default is "tsdb" | ||
#tsd.storage.hbase.data_table = tsdb | ||
|
||
# Name of the HBase table where UID information is stored, default is "tsdb-uid" | ||
#tsd.storage.hbase.uid_table = tsdb-uid | ||
|
||
# Path under which the znode for the -ROOT- region is located, default is "/hbase" | ||
#tsd.storage.hbase.zk_basedir = /hbase | ||
|
||
# A space separated list of Zookeeper hosts to connect to, with or without | ||
# port specifiers, default is "localhost" | ||
#tsd.storage.hbase.zk_quorum = localhost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters