[rrd-users] creating fancy graphs
Jeremy Harris
jgh at wizmail.org
Wed Feb 4 01:10:28 CET 2009
Matthew Sacks wrote:
> does anyone happen to know how this graph could be created?
>
> http://oss.oetiker.ch/rrdtool/gallery/charles.png
Take this and modify to suit:
'diskstats' => [
'DEF:a=$DATADIR/$DATAFILE:reads_issued:AVERAGE',
'DEF:b=$DATADIR/$DATAFILE:sectors_read:MAX',
'DEF:c=$DATADIR/$DATAFILE:sectors_read:AVERAGE',
'DEF:out_iss=$DATADIR/$DATAFILE:writes_issued:AVERAGE',
'DEF:out_max=$DATADIR/$DATAFILE:sectors_written:MAX',
'DEF:out_avg=$DATADIR/$DATAFILE:sectors_written:AVERAGE',
'CDEF:in_iss_m=0,a,-',
'CDEF:in_max_m=0,b,-',
'CDEF:in_avg_m=0,c,-',
'CDEF:cline=b,0,EXC,POP',
'CDEF:in_unk=c,UN,-$UNKLEVEL,UNKN,IF',
'CDEF:out_unk=out_avg,UN,$UNKLEVEL,UNKN,IF',
'AREA:in_unk#888888:missing data',
'AREA:out_unk#888888',
'AREA:in_iss_m#ffcccc:reads issued',
'AREA:in_max_m#ffaaaa:peak input',
'LINE1:in_avg_m#ff0000:average input',
'AREA:out_iss#ccffcc:peak output',
'AREA:out_max#aaffaa:peak output',
'LINE1:out_avg#00cc00:average output',
'LINE1:cline#010000',
],
More information about the rrd-users
mailing list