[rrd-users] RRDTOOL 1.4.4 fetch with RRDCACHED_ADDRESS

swami swami at infineta.com
Fri Nov 19 02:13:07 CET 2010


Hi,
     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.

     Here is what i do, in steps

1)    /usr/local/third-party/rrd/bin/rrdcached -l 127.0.0.1 -w 600 -b /var/stats/rrd_data
2) set RRDCACHED_ADDRESS
       export RRDCACHED_ADDRESS=127.0.0.1
2) create rrd
       /usr/local/third-party/rrd/bin/rrdtool  create /var/stats/rrd_data/remote_peer_data/rp4.rrd -s 3\
       DS:AccelTrafficBytesIn:COUNTER:60:0:U\
       RRA:AVERAGE:0.5:1:1200\
       RRA:MAX:0.5:1:1200\
       RRA:LAST:0.5:1:1200\
3) update some values
       /usr/local/third-party/rrd/bin/rrdtool update remote_peer_data/rp4.rrd N:10
       /usr/local/third-party/rrd/bin/rrdtool update remote_peer_data/rp4.rrd N:10
        /usr/local/third-party/rrd/bin/rrdtool update remote_peer_data/rp4.rrd N:10

4) telnet localhost 42217
   PENDING rp4.rrd
3 updates pending
1290128668:10
1290128672:10
1290128673:10

4) fetch now 
   /usr/local/third-party/rrd/bin/rrdtool fetch remote_peer_data/rp4.rrd AVERAGE
   ERROR: opening 'remote_peer_data/rp4.rrd': No such file or directory

   /usr/local/third-party/rrd/bin/rrdtool fetch rp4.rrd AVERAGE
  ERROR: opening 'rp4.rrd': No such file or directory

   /usr/local/third-party/rrd/bin/rrdtool fetch rrd_data/remote_peer_data/rp4.rrd AVERAGE
   ERROR: rrdcached: No such file: /var/stats/rrd_data/rrd_data/remote_peer_data/rp4.rrd.

   Is there an issue with the fetch or am i missing something.


Regards
swami
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20101118/e238829c/attachment.htm 


More information about the rrd-users mailing list