Opened 6 years ago

Last modified 4 years ago

#11013 new defect

luci-app-statistics rrdtool won't draw any graph

Reported by: Jérôme Poulin <jeromepoulin@…> Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: luci Version: 10.03.1
Keywords: luci collectd Cc:


OpenWrt luci statistics deosn't seem to use valid arguments for rrdtool, database seems populated but rrdtool fails with return code 16 after replacing rrdtool with a dummy script that outputs command line, real rrdtool stdout/stderr and return code.

In the interface, I can click graphs, ask a timeline but no graph is drawn. /tmp/rrdimg/*/ are empty.

Cmdline: /usr/bin/rrdtool graph /tmp/rrdimg/MasterDelink/load/1.600.png -a PNG -s NOW-600 -w 600 -t MasterDelink: System Load -v Load DEF:1load_avg=/tmp/MasterDelink/load/load.rrd:shortterm:AVERAGE CDEF:1load_nnl=1load_avg,UN,0,1load_avg,IF DEF:2load_avg=/tmp/MasterDelink/load/load.rrd:midterm:AVERAGE CDEF:2load_nnl=2load_avg,UN,0,2load_avg,IF DEF:3load_avg=/tmp/MasterDelink/load/load.rrd:longterm:AVERAGE CDEF:3load_nnl=3load_avg,UN,0,3load_avg,IF CDEF:3load_stk=3load_nnl CDEF:2load_stk=2load_nnl,3load_stk,+ CDEF:1load_stk=1load_nnl,2load_stk,+ AREA:1load_stk#ffbfbf LINE1:1load_stk#ff0000:1 min  GPRINT:1load_avg:AVERAGE:	Avg\: %6.1lf GPRINT:1load_avg:LAST:	Last\: %6.1lf\l AREA:2load_stk#ffd8bf LINE1:2load_stk#ff6600:5 min  GPRINT:2load_avg:AVERAGE:	Avg\: %6.1lf GPRINT:2load_avg:LAST:	Last\: %6.1lf\l AREA:3load_stk#ffe9bf LINE1:3load_stk#ffaa00:15 min GPRINT:3load_avg:AVERAGE:	Avg\: %6.1lf GPRINT:3load_avg:LAST:	Last\: %6.1lf\l


Return: 16

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by florian

  • Component changed from packages to luci

comment:2 Changed 4 years ago by jow

  • Milestone changed from Backfire 10.03.2 to Chaos Calmer (trunk)

Milestone Backfire 10.03.2 deleted

Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.