We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Man page said that rrdcached is supported by dump command, but really not works.
To Reproduce check if rrd exist:
$ rrdtool last spb-sdn-local2/uptime.rrd --daemon 127.0.0.1:42217 1637163600
try dump:
$ rrdtool dump spb-sdn-local2/uptime.rrd --daemon 127.0.0.1:42217 ERROR: opening 'spb-sdn-local2/uptime.rrd': No such file or directory
(dump without rrdcached is works):
$ rrdtool dump /opt/observium/rrd/spb-sdn-local2/uptime.rrd |head <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE rrd SYSTEM "https://oss.oetiker.ch/rrdtool/rrdtool.dtd"> <!-- Round Robin Database Dump --> <rrd> <version>0003</version> <step>300</step> <!-- Seconds --> <lastupdate>1637163709</lastupdate> <!-- 2021-11-17 18:41:49 MSK -->
RRDtool on Ubuntu 20.04:
RRDtool 1.7.2 Copyright by Tobias Oetiker <tobi@oetiker.ch> Compiled Feb 26 2020 17:10:48
The text was updated successfully, but these errors were encountered:
Same problem on 1.8.0. Strace shows that syscall openat is executed locally right after talking to the rrdcached for flushing.
openat
socket(AF_INET, SOCK_STREAM, IPPROTO_TCP) = 3 connect(3, {sa_family=AF_INET, sin_port=htons(42217), sin_addr=inet_addr("192.0.2.6")}, 16) = 0 sendto(3, "flush power_consumption.rrd\n", 28, 0, NULL, 0) = 28 recvfrom(3, "0 Successfully flushed /data/db/"..., 4096, 0, NULL, NULL) = 55 openat(AT_FDCWD, "power_consumption.rrd", O_RDONLY) = -1 ENOENT (No such file or directory)
(cc: @oetiker)
Sorry, something went wrong.
There is no client or daemon handler implemented for dump. So I would say the bug is in the documentation:
dump
rrdtool-1.x/doc/rrdcached.pod
Line 329 in d8923c5
Successfully merging a pull request may close this issue.
Describe the bug
Man page said that rrdcached is supported by dump command, but really not works.
To Reproduce
check if rrd exist:
try dump:
(dump without rrdcached is works):
RRDtool on Ubuntu 20.04:
The text was updated successfully, but these errors were encountered: