[rrd-developers] rrdcache Update success response..

Shaun Reitan mailinglists at unix-scripts.com
Mon Nov 1 21:38:12 CET 2010

On 11/1/2010 11:51 AM, Steve Shipway wrote:
> This is not actually a complete success message, a complete success doesnt have the 'errors,' prefix.  The initial '0' is the status code -- 0 for "OK,no more lines follow".
> The 'errors, enqueued' message is a 'partial success' message; possibly it thinks you sent two values and only one was correctly enqueued (check for multiple or trailing spaces in the command you sent which could be taken as a badly-formatted value)
> Steve

Are you sure?  looking at src/rrd_daemon.c for that function the last 
few lines show...

   if (values_num < 1)
     return send_response(sock, RESP_ERR, "No values updated.\n");
     return send_response(sock, RESP_OK,
                          "errors, enqueued %i value(s).\n", values_num);

 From what i can tell so far, there is no other code in this function 
that would send a success message than what i have pasted above.

Shaun Retian
Chief Technical Officer
Network Data Center Host, Inc.

More information about the rrd-developers mailing list