<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>I think it should be possible to get this to work since I am using the pull parser in rrdtool restore</div><div><br></div><div>cheers<br><br>Tobias Oetiker<div><a href="mailto:tobi@oetiker.ch">tobi@oetiker.ch</a></div><div>062 775 9902</div></div><div><br>On 16.02.2014, at 03:21, Stanislav Sinyagin <<a href="mailto:ssinyagin@yahoo.com">ssinyagin@yahoo.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt">I don't think it does. Why isn't a usual file good enough? You can store
it in tmpfs if the i/o speed is the concern. But usually rrdtool is
slower than disk i/o anyway.<br clear="none"><br clear="none">What I
typically do, is execute rrdtool dump from an SSH command, so that its
remote stdout is the ssh's local stdout, and save the XML to a local
temporary file. Next the local rrdtool restore would slurp that file. <br clear="none"><br clear="none">If you need the XML to tweak some RRD parameter, you can use RRD::Tweak Perl module instead.<br clear="none"><div><span></span></div><div><br></div> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Peter Stamfest <<a href="mailto:peter@stamfest.at">peter@stamfest.at</a>><br> <b><span style="font-weight: bold;">To:</span></b> <a href="mailto:rrd-developers@lists.oetiker.ch">rrd-developers@lists.oetiker.ch</a> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, February 14, 2014 9:39 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> [rrd-developers] Question: rrdtool pipe interface - restore support?<br> </font>
</div> <div class="y_msg_container"><br>Hi,<br><br>Does the rrdtool pipe interface somehow support an in-stream xml restore<br>command?<br><br>"dump" is (mostly) working as expected, although one has to look for<br>the "OK" response line to find out where the xml ends, but this is not a<br>problem. "restore" however has the problem that it does not take input<br>over the pipe interface. Using "-" as XML input seems to *partly* work,<br>but fails with a parser error. Using /dev/stdin works when using the<br>pipe interface on the command line, but can't work when using the pipe<br>over a TCP connection....<br><br>Any ideas?<br><br>I admit that I am using a rather old version: 1.4.7...<br><br>peter<br><br>_______________________________________________<br>rrd-developers mailing list<br><a ymailto="mailto:rrd-developers@lists.oetiker.ch" href="mailto:rrd-developers@lists.oetiker.ch">rrd-developers@lists.oetiker.ch</a><br><a href="https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers" target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers</a><br><br><br></div> </div> </div> </div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>rrd-developers mailing list</span><br><span><a href="mailto:rrd-developers@lists.oetiker.ch">rrd-developers@lists.oetiker.ch</a></span><br><span><a href="https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers">https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers</a></span><br></div></blockquote></body></html>