[rrd-users] Problems with rrdcached and RRDs::graph
Sascha.Tentscher at gmx.de
Fri Jan 15 09:53:07 CET 2010
I try to use rrdcached-daemon in version 1.4.2, the caching and updateing of
the rrd-files run well. The cached-deamon was started with the command:
"rrdcached -l 192.168.30.13.1:1234 -b /opt/rrd -w 600 -f 3600 -j
/opt/rrd/cache -F -t 10".
After this I want to use the cached feature in combination with drawing a
graph. If I understand the methode right, I can send RRD an flag, that it
have to import the data for the rrdfile before drawing the graph, this is
possible in the CLI with the parameter "--daemon (unixsocket or ip:port)",
but the Perl-packet RRDs.pm seem to have no possibility for this parameter
in the function graph.
Now I tried to test the CLI for the rrdtool, the "normal" command works well
"rrdtool graph /srv/www/htdocs/pic.png -a PNG --start 1263375151 --end
CDEF:inbits=inoctets,8,*,1.024,/,1.024,/ LINE:inbits#FF0000" the graph was
When trying to us the flush function for the data: "rrdtool graph
/srv/www/htdocs/pic.png -a PNG --start 1263375151 --end 1263378751
CDEF:inbits=inoctets,8,*,1.024,/,1.024,/ LINE:inbits#FF0000 --daemon
192.168.30.13:1234" the result is "ERROR: rrdc_flush (/opt/rrd/some.rrd)
failed with status -1." it failed. This error code doesn't really help me.
The last thing I tried was to run a flush manuel, but the same problem
rrdtest:~ # telnet 192.168.30.13 1234
Connected to 192.168.30.13.
Escape character is '^]'.
9 Statistics follow
0 Started flush.
-1 No such file: /opt/rrd/some.rrd.
rrdtest:~ # ls -la /opt/rrd
drwxr-xr-x 3 root root 4096 Jan 13 12:49 .
drwx------ 10 root root 4096 Jan 13 12:48 ..
drwxr-xr-x 2 root root 4096 Jan 13 12:48 cache
-rw-r--r-- 1 root root 257896 Jan 13 12:49 some.rrd
Have I made an error in my installation or is this behavioure normal? On the
Webside I can't find a hint how to solve this problem.
Is the "--daemon"-function implementet in the RRDs.pm?
View this message in context: http://n2.nabble.com/Problems-with-rrdcached-and-RRDs-graph-tp4397604p4397604.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.
More information about the rrd-users