RRDTOOL 1.4.4 fetch with RRDCACHED_ADDRESS
"swami" <[email protected]>
| Newsgroups | gmane.comp.db.rrdtool.user,gmane.comp.db.rrdtool.devel |
|---|---|
| Message-ID | <E91B4B828899473F824BF3905B1BC0CA@SWAMIPC> |
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
_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users