0

我是 OpenTSDB 的新手,我成功安装了 OpenTSB 及其所有依赖项。在绘图时,我在日志文件中收到错误:

Thu Jul 09 10:19:13 GMT-400 2015    WARN    Gnuplot #2  tsd.HttpQuery
[id: 0x4146b6a2, /xxx.xxx.xxx.xxx:xxxxx => /xxx.x.xxx.xxx:xxxx] Bad Request on /q?start=2015/07/09-00:00:00&end=2015/07/09-10:20:27&m=sum:temperatures&o=&yrange=%5B0:%5D&wxh=1295x538&json: <pre>Gnuplot stderr:

set term png small size 1295,538
         ^
"/tmp/tsd/6ec53dbb.gnuplot", line 1: unknown or ambiguous terminal type; type just 'set terminal' for a list

</pre>

这个问题的一些解决方案提到我应该为 Octava 安装 x11

sudo apt-get install gnuplot-x11

这不适用于我的情况,我使用的是 UBUNTU 而不是 mac。

4

1 回答 1

0

绘图是使用动态 PNG 图像创建的。为了支持 PNG,我们需要有 libgd2 包。

  1. 请安装 libgd2 包
  2. 重启 gnuplot 和 openTSDB
  3. 打开http://localhost:4242/看看是否还有错误
于 2015-07-20T13:58:20.287 回答