[rrd-users] Question about rrdcached

Jairo Gubler jairo.gubler at digitro.com.br
Fri Sep 21 19:16:25 CEST 2012


Mustn't rrdtool connect to a remote host, through rrdcached? Was there 
something wrong in my test below?

First I ran rrdcached:
rrdcached -l 192.168.173.122 -w 600 -z 10 -j /dados/rrd/cached/ -p 
/dados/rrd/rrdcached.pid -b /dados/rrd/


When I tryed to use '"rrdtool fetch" (from a remote machine or local 
machine through TCP) I got some errors:

rrdtool fetch --daemon 192.168.173.122 
193.181.1.98/192.168.1.241/uParticao/31-_.rrd MAX -s  $(date --date "Aug 
01 00:00:00 2012" +%s) -e $(date --date "Aug 08 00:00:00 2012" +%s)
ERROR: opening '193.181.1.98/192.168.1.241/uParticao/31-_.rrd': No such 
file or directory

rrdtool fetch --daemon 192.168.173.122 
/dados/rrd/193.181.1.98/192.168.1.241/uParticao/31-_.rrd MAX -s $(date 
--date "Aug 01 00:00:00 2012" +%s) -e $(date --date "Aug 08 00:00:00 
2012" +%s)
ERROR: absolute path names not allowed when talking to a remote daemon


Without rrdcached:
rrdtool fetch /dados/rrd/193.181.1.98/192.168.1.241/uParticao/31-_.rrd 
MAX -s $(date --date "Aug 01 00:00:00 2012" +%s) -e $(date --date "Aug 
08 00:00:00 2012" +%s) | head
                             var
1343790300: 9.0000000000e+00
1343790600: 9.0000000000e+00
1343790900: 9.0000000000e+00
1343791200: 9.0000000000e+00
1343791500: 9.0000000000e+00
1343791800: 9.0000000000e+00
1343792100: 9.0000000000e+00
1343792400: 9.0000000000e+00


*Versions:*
RRDCacheD 1.4.7
RRDtool 1.4.7

CentOS 5.8 32bits





Jairo Gubler



More information about the rrd-users mailing list