<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18975">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Hi,</FONT></DIV>
<DIV><FONT size=2 face=Arial> Am trying to get my
rrdtool work with RRDCACHED and am facing fetch issue where looks like its not
able to locate the file with the relative path.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial> Here is what i do, in
steps</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>1)
/usr/local/third-party/rrd/bin/rrdcached -l 127.0.0.1 -w 600 -b
/var/stats/rrd_data</FONT></DIV>
<DIV><FONT size=2 face=Arial>2) set RRDCACHED_ADDRESS</FONT></DIV>
<DIV><FONT size=2 face=Arial> export
RRDCACHED_ADDRESS=127.0.0.1</FONT></DIV>
<DIV><FONT size=2 face=Arial>2) create rrd</FONT></DIV>
<DIV><FONT size=2 face=Arial>
/usr/local/third-party/rrd/bin/rrdtool create
/var/stats/rrd_data/remote_peer_data/rp4.rrd -s
3\<BR>
DS:AccelTrafficBytesIn:COUNTER:60:0:U\</FONT></DIV>
<DIV><FONT size=2 face=Arial>
RRA:AVERAGE:0.5:1:1200\</FONT></DIV>
<DIV><FONT size=2
face=Arial> RRA:MAX:0.5:1:1200\</FONT></DIV>
<DIV><FONT size=2 face=Arial>
RRA:LAST:0.5:1:1200\</FONT></DIV>
<DIV><FONT size=2 face=Arial>3) update some values</FONT></DIV>
<DIV><FONT size=2 face=Arial>
/usr/local/third-party/rrd/bin/rrdtool update remote_peer_data/rp4.rrd
N:10</FONT></DIV>
<DIV><FONT size=2 face=Arial>
/usr/local/third-party/rrd/bin/rrdtool update remote_peer_data/rp4.rrd
N:10</FONT></DIV>
<DIV><FONT size=2 face=Arial>
/usr/local/third-party/rrd/bin/rrdtool update remote_peer_data/rp4.rrd
N:10</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>4) telnet localhost 42217</FONT></DIV>
<DIV><FONT size=2 face=Arial> PENDING rp4.rrd<BR>3 updates
pending<BR>1290128668:10</FONT></DIV>
<DIV><FONT size=2 face=Arial>1290128672:10</FONT></DIV>
<DIV><FONT size=2 face=Arial>1290128673:10<BR></DIV></FONT>
<DIV><FONT size=2 face=Arial>4) fetch now </FONT></DIV>
<DIV><FONT size=2
face=Arial> /usr/local/third-party/rrd/bin/rrdtool fetch
remote_peer_data/rp4.rrd AVERAGE<BR> ERROR: opening
'remote_peer_data/rp4.rrd': No such file or directory<BR></FONT></DIV>
<DIV><FONT size=2 face=Arial> /usr/local/third-party/rrd/bin/rrdtool
fetch rp4.rrd AVERAGE<BR> ERROR: opening 'rp4.rrd': No such file or
directory<BR></FONT></DIV>
<DIV><FONT size=2 face=Arial> /usr/local/third-party/rrd/bin/rrdtool
fetch rrd_data/remote_peer_data/rp4.rrd AVERAGE<BR> ERROR:
rrdcached: No such file:
/var/stats/rrd_data/rrd_data/remote_peer_data/rp4.rrd.<BR></FONT></DIV>
<DIV><FONT size=2 face=Arial> Is there an issue with the fetch or am
i missing something.</FONT></DIV>
<DIV><FONT size=2 face=Arial> </DIV></FONT>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Regards</FONT></DIV>
<DIV><FONT size=2 face=Arial>swami</FONT></DIV></BODY></HTML>