Gnuplot OpenTSDB中的GNU绘图错误
我是OpenTSDB的新手,我成功地安装了OpenTSB及其所有依赖项。 在打印时,我在日志文件中得到的错误如下:Gnuplot OpenTSDB中的GNU绘图错误,gnuplot,opentsdb,Gnuplot,Opentsdb,我是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=201
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>
这不适用于我的情况,我使用的是UBUNTU而不是mac。绘图是使用动态PNG图像创建的。为了支持PNG,我们需要有libgd2包
sudo apt-get install gnuplot-x11