当前位置:Gxlcms > 数据库问题 > Opentsdb 启动显示配置文件不存在

Opentsdb 启动显示配置文件不存在

时间:2021-07-01 10:21:17 帮助过:4人阅读

 command line argument to specify the full path to a configuration file. Otherwise if not specified, OpenTSDB and some of the command-line tools will attempt to search for a valid configuration file in the following locations:

   这个大致意思就是 你要去写配置文件  否则,如果没有指定,opentsdb和一些命令行工具将尝试寻找一个有效的配置文件的位置:

  • ./opentsdb.conf
  • /etc/opentsdb.conf
  • /etc/opentsdb/opentsdb.conf
  • /opt/opentsdb/opentsdb.conf

   于是我就在 建立了/opt/opentsdb/opentsdb.conf 文件  并对文件进行了配置  启动时候 显示 staticroot 文件不存在  但是目录下就有该文件

   于是我把又在官网了解到 可以在配置文件中配置staticroot 文件的路径  于是我配置该文件

    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

    这时候opentsdb 又可以重新启动了

 

  

Opentsdb 启动显示配置文件不存在

标签:

人气教程排行