[rrd-users] Supressing RRDTool "OK" message in pipe mode

Phix mark at phix.me
Fri Feb 27 17:09:47 CET 2009


This isn't a problem as such, more a quirk I am interested in solving. I am
running rrdtool in pipe mode (which is "rrdtool -" at the command line) and
passing it a graph definition. It then spits back a binary stream which is
the PNG file data, but right at the end of this stream, it adds it's usual
"OK" message, something like "OK u:2.86 s:0.14 r:3.00".

Obviously, this isn't part of the PNG stream - is there anyway of turning
this off so it doesn't print this "garbage" at the end? The documentation
says that when pipe mode is invoked, RRDTool should suppress all other
output except the PNG stream, but this is not happening in my case (I'm
running RRDtool 1.2.18).

Any feedback would be much appreciated.
-- 
View this message in context: http://www.nabble.com/Supressing-RRDTool-%22OK%22-message-in-pipe-mode-tp22246770p22246770.html
Sent from the RRDTool - User mailing list archive at Nabble.com.



More information about the rrd-users mailing list