<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6001.18349" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hi All,</FONT></DIV>
<DIV><FONT face=Arial size=2> I
am finding this issue of rrd xport not returning rows whereas the rrd fetch is
returning rows with the same parameters.</FONT></DIV>
<DIV><FONT face=Arial size=2>Would be great if any of you could help me or have
faced this issue.I am using rrdtool <STRONG>version 1.3.6.</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Below is the snapshot of the commands executed and
their result .</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>RRDTOOL FETCH: returns one row as shown below
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><STRONG>[root@dev006 ~]#
/usr/local/third-party/rrd/bin/rrdtool fetch
/var/stats/rrd_data/service_class_data/service_class_TESTSC04.rrd AVERAGE -r 3
-s 1262886000 -e
1262886180<BR></STRONG>
AccelTrafficBytesIn PThruTrafficBytesIn
GoodPutBytesOut
GoodPutBytesIn
WanPThruBytesIn
BytesOut</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>1262886600: 4.3554497354e+02 0.0000000000e+00
1.6151587302e+02 5.8164285714e+02 0.0000000000e+00
5.6100264550e+03<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>RRDTOOL XPORT : things to
observe</FONT></DIV>
<DIV><FONT face=Arial size=2>1) in the result , step is 600 eventhough
step is set to 3 in the command</FONT></DIV>
<DIV><FONT face=Arial size=2>2) start and end time in the result are not the
same as in the command </FONT></DIV>
<DIV><FONT face=Arial size=2>3) no rows are returned.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><STRONG>[root@dev006 ~]#
/usr/local/third-party/rrd/bin/rrdtool xport --step 3 -s 1262886000 -e
1262886180
DEF:aval=/var/stats/rrd_data/service_class_data/service_class_TESTSC04.rrd:AccelTrafficBytesIn:AVERAGE
DEF:bval=/var/stats/rrd_data/service_class_data/service_class_TESTSC04.rrd:BytesOut:AVERAGE
DEF:cval=/var/stats/rrd_data/service_class_data/service_class_TESTSC04.rrd:GoodPutBytesIn:AVERAGE
DEF:dval=/var/stats/rrd_data/service_class_data/service_class_TESTSC04.rrd:GoodPutBytesOut:AVERAGE
CDEF:a=aval,UN,0,aval,IF,8,* CDEF:b=bval,UN,0,bval,IF,8,*
CDEF:c=cval,UN,0,cval,IF,8,* CDEF:d=dval,UN,0,dval,IF,8,* CDEF:dr1=d,100,*,a,/
CDEF:dr=100,dr1,- CDEF:ci=a,d,/ CDEF:civ=ci,UN,1,ci,IF CDEF:cival=civ,1,MAX
XPORT:dr XPORT:cival XPORT:a XPORT:b XPORT:c XPORT:d</STRONG><BR><?xml
version="1.0" encoding="ISO-8859-1"?></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><xport><BR>
<meta><BR>
<start>1262886600</start><BR>
<step>600</step><BR>
<end>1262886000</end><BR>
<rows>0</rows><BR>
<columns>6</columns><BR>
<legend><BR>
<entry></entry><BR>
<entry></entry><BR>
<entry></entry><BR>
<entry></entry><BR>
<entry></entry><BR>
<entry></entry><BR> </legend><BR>
</meta><BR> <data><BR>
</data><BR></xport></FONT></DIV></FONT></DIV></BODY></HTML>