[rrd-users] what I am doing wrong .. rrd graph
Pete Lancashire
pete at petelancashire.com
Tue Jan 17 23:53:01 CET 2012
really feeling stupid
create
rrdtool create sapprp_fcrw.rrd \
--start 'October 1 2011 00:00' \
--step 10 \
DS:fcs0_read:GAUGE:30:U:U \
DS:fcs1_read:GAUGE:30:U:U \
DS:fcs2_read:GAUGE:30:U:U \
DS:fcs3_read:GAUGE:30:U:U \
DS:fcs0_write:GAUGE:30:U:U \
DS:fcs1_write:GAUGE:30:U:U \
DS:fcs2_write:GAUGE:30:U:U \
DS:fcs3_write:GAUGE:30:U:U \
RRA:LAST:0.5:1:3162240 \
RRA:MAX:0.5:1:3162240
xport shows data in DS fcs0_read
rrdtool xport --start 1322726400 --end start+60s
DEF:aaa=/data1/data4/nmon/rrdfiles/sapprp_fcrw.rrd:fcs0_read:LAST
XPORT:aaa:"stuff"
<?xml version="1.0" encoding="ISO-8859-1"?>
<xport>
<meta>
<start>1322726410</start>
<step>10</step>
<end>1322726470</end>
<rows>7</rows>
<columns>1</columns>
<legend>
<entry>stuff</entry>
</legend>
</meta>
<data>
<row><t>1322726410</t><v>3.4388000000e+03</v></row>
<row><t>1322726420</t><v>4.2701000000e+03</v></row>
<row><t>1322726430</t><v>1.6032000000e+02</v></row>
<row><t>1322726440</t><v>8.0624000000e+02</v></row>
<row><t>1322726450</t><v>8.1728000000e+02</v></row>
<row><t>1322726460</t><v>5.0753000000e+02</v></row>
<row><t>1322726470</t><v>2.7352000000e+02</v></row>
</data>
</xport>
rrdtool graph --start 1322726400 --end start+60s
DEF:a=/data1/data4/nmon/rrdfiles/sapprp_fcrw.rrd:fcs0_read:MAXIMUM
LINE1:a#FF0000""
ERROR: parameter 'a' does not represent a number in line LINE1:a#FF0000
More information about the rrd-users
mailing list