OpenTSDB - error on using UI (Gnuplot ?)

64 views
Skip to first unread message

karan alang

unread,
Dec 20, 2016, 9:18:46 PM12/20/16
to OpenTSDB
hi All, I've HDP 2.4 & OpenTSDB 2.2.1 installed

here is what i did ->

- Installed GNUPLOT (earlier i'd not done that & that was causing issues, i understand OpenTSDB requires Gnuplot)
- Launched the UI

In the graph tab,

- Selected start date & checked Autoreload
- Typed Metric = volume

This gives error shown below.
Any ideas on what needs to be done ?

Attached screenshots of the UI & console.

-----------------------------------------------------------------
2016-12-21 01:53:40,449 WARN  [Gnuplot #1] HttpQuery: [id: 0xd806c255, /10.0.2.2:64873 => /10.0.2.15:9999] Bad Request on /q?start=2016/12/01-00:00:00&ignore=6&m=sum:volume&o=&yrange=%5B0:%5D&wxh=1260x489&style=linespoint&json: <pre>Gnuplot stderr:

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

</pre>
2016-12-21 01:53:40,450 INFO  [Gnuplot #1] HttpQuery: [id: 0xd806c255, /10.0.2.2:64873 => /10.0.2.15:9999] HTTP /q?start=2016/12/01-00:00:00&ignore=6&m=sum:volume&o=&yrange=%5B0:%5D&wxh=1260x489&style=linespoint&json done in 171ms
2016-12-21 01:54:11,843 INFO  [AsyncHBase I/O Worker #1] TsdbQuery: TsdbQuery(start_time=1480550400, end_time=1482285251, metric=[0, 0, 5], filters=[], rate=false, aggregator=sum, group_bys=()) matched 480 rows in 5 spans in 76.851658ms
2016-12-21 01:54:11,858 INFO  [Gnuplot #2] Plot: Wrote Gnuplot script to /tmp/tsd/6ae88a24.gnuplot
2016-12-21 01:54:11,868 WARN  [Gnuplot #2] HttpQuery: [id: 0xd806c255, /10.0.2.2:64873 => /10.0.2.15:9999] Bad Request on /q?start=2016/12/01-00:00:00&ignore=7&m=sum:volume&o=&yrange=%5B0:%5D&wxh=1260x489&style=linespoint&json: <pre>Gnuplot stderr:

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

</pre>
2016-12-21 01:54:11,869 INFO  [Gnuplot #2] HttpQuery: [id: 0xd806c255, /10.0.2.2:64873 => /10.0.2.15:9999] HTTP /q?start=2016/12/01-00:00:00&ignore=7&m=sum:volume&o=&yrange=%5B0:%5D&wxh=1260x489&style=linespoint&json done in 126ms
2016-12-21 01:54:18,462 INFO  [AsyncHBase I/O Worker #1] TsdbQuery: TsdbQuery(start_time=1480550400, end_time=1482285258, metric=[0, 0, 5], filters=[], rate=false, aggregator=sum, group_bys=()) matched 480 rows in 5 spans in 223.160215ms
2016-12-21 01:54:18,476 INFO  [Gnuplot #1] Plot: Wrote Gnuplot script to /tmp/tsd/6ae88a24.gnuplot
2016-12-21 01:54:18,483 WARN  [Gnuplot #1] HttpQuery: [id: 0xd806c255, /10.0.2.2:64873 => /10.0.2.15:9999] Bad Request on /q?start=2016/12/01-00:00:00&ignore=8&m=sum:volume&o=&yrange=%5B0:%5D&wxh=1260x489&style=linespoint&json: <pre>Gnuplot stderr:

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

</pre>
2016-12-21 01:54:18,484 INFO  [Gnuplot #1] HttpQuery: [id: 0xd806c255, /10.0.2.2:64873 => /10.0.2.15:9999] HTTP /q?start=2016/12/01-00:00:00&ignore=8&m=sum:volume&o=&yrange=%5B0:%5D&wxh=1260x489&style=linespoint&json done in 266ms


Screen Shot 2016-12-20 at 6.08.34 PM.png
Screen Shot 2016-12-20 at 6.08.42 PM.png

ManOLamancha

unread,
Jan 7, 2017, 7:34:16 PM1/7/17
to OpenTSDB
set term png small size 1260,489
         ^
"/tmp/tsd/6ae88a24.gnuplot", line 1: unknown or ambiguous terminal type; type just 'set terminal' for a list

Hm, what OS version are you running under and which Gnuplot version did you install?  
Reply all
Reply to author
Forward
0 new messages