Restart today OPENTSDB the presence of local profile does not exist this doesn't know I checked the official website to learn
can use the--config
command line argument to specify the full path to a configuration file. Otherwise if not specified, Opentsdb and some of the command-line tools would attempt to search for a valid configuration F Ile in the following locations:
this roughly means you're going to write config file Otherwise, if not specified, Opentsdb and some command-line tools will try to find a valid configuration file in the location:
- ./opentsdb.conf
- /etc/opentsdb.conf
- /etc/opentsdb/opentsdb.conf
- /opt/opentsdb/opentsdb.conf
So I set up the/opt/opentsdb/opentsdb.conf file and configured the file to start when the Staticroot file does not exist but the file is in the directory
So I learned on the official website that you can configure the path to the Staticroot file in the configuration file so I configure the file
Tsd.network.port = 4242
Tsd.http.staticroot =build/staticroot
Tsd.http.cachedir =/TMP/TSD
Tsd.core.auto_create_metrics = True
Tsd.storage.hbase.zk_quorum =192.168.12.62,192.168.12.63,192.168.12.64
Tsd.http.staticroot=/usr/app/opentsdb-2.2.0/build/staticroot
And then Opentsdb can restart.
OPENTSDB Boot display configuration file does not exist