[rrd-developers] rrdcache Update success response..

Shaun Reitan mailinglists at unix-scripts.com
Mon Nov 1 19:36:22 CET 2010


On a successful update you get the following response.

     0 errors, enqueued 1 value(s).

The problem i see with this response is that if you carve up the 
response using perl (or any other language) using a whitespace as a 
delimiter you will end up with the following...

	status = 0
	message = errors, enqueued 1 value(s).

The problem i see here with this response is that the message indicates 
there was errors even though i think what it's really trying to say was 
0 errors.  The response should probably really say

0 0 errors, enqueued 1 value(s).
OR
0 no errors, enqueued 1 value(s).

maybe this is a bug?

--
Shaun Retian
Chief Technical Officer
Network Data Center Host, Inc.
http://www.ndchost.com



More information about the rrd-developers mailing list