<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:14pt"><div id="yiv8934538002"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:14pt;"><div style="" class="yiv8934538002" id="yiv8934538002yui_3_16_0_1_1406875379580_2803">Hi, <br style=""><br style="" class="yiv8934538002">I am trying to use curl_json to get stats from http://localhost:5984 /_stats, and got an issue.<br style="" class="yiv8934538002"><br style="" class="yiv8934538002">And the plugin is configured as described on https://collectd.org/wiki/index.php/Plugin:cURL-JSON. <br style="" class="yiv8934538002"><br style="" class="yiv8934538002">But I have got nothing at least no rrd file is created any where under collectd tree. <br style="" class="yiv8934538002"><br style="" class="yiv8934538002">The Json string is :<br style="" class="yiv8934538002"><br
style="" class="yiv8934538002"> root at web:/etc/collectd# GET http://localhost:5984/_stats<br style="" class="yiv8934538002"><br style="" class="yiv8934538002">{"couchdb":{"auth_cache_misses":{"description":"number of authentication cache
misses","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null},"database_writes":{"description":"number of times a database was changed","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null},"open_databases":{"description":"number of open databases","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null},"auth_cache_hits":{"description":"number of authentication cache hits","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null},"request_time":{"description":"length of a request inside CouchDB without MochiWeb","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null},"database_reads":{"description":"number of times a document was read from a database","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null},"open_os_files":{"description":"number of file descriptors CouchDB has
open","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null}},"httpd_request_methods":{"PUT":{"description":"number of HTTP PUT requests","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null},"GET":{"description":"number of HTTP GET requests","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null},"COPY":{"description":"number of HTTP COPY requests","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null},"DELETE":{"description":"number of HTTP DELETE requests","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null},"POST":{"description":"number of HTTP POST requests","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null},"HEAD":{"description":"number of HTTP HEAD requests","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null}},"httpd_status_codes":{"403":{"description":"number of HTTP 403 Forbidden
responses","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null},"202":{"description":"number of HTTP 202 Accepted responses","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null},"401":{"description":"number of HTTP 401 Unauthorized responses","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null},"409":{"description":"number of HTTP 409 Conflict responses","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null},"200":{"description":"number of HTTP 200 OK responses","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null},"405":{"description":"number of HTTP 405 Method Not Allowed responses","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null},"400":{"description":"number of HTTP 400 Bad Request responses","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null},"201":{"description":"number of HTTP 201 Created
responses","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null},"404":{"description":"number of HTTP 404 Not Found responses","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null},"500":{"description":"number of HTTP 500 Internal Server Error responses","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null},"412":{"description":"number of HTTP 412 Precondition Failed responses","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null},"301":{"description":"number of HTTP 301 Moved Permanently responses","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null},"304":{"description":"number of HTTP 304 Not Modified responses","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null}},"httpd":{"clients_requesting_changes":{"description":"number of clients for continuous
_changes","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null},"temporary_view_reads":{"description":"number of temporary view reads","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null},"requests":{"description":"number of HTTP requests","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null},"bulk_requests":{"description":"number of bulk requests","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null},"view_reads":{"description":"number of view reads","current":null,"sum":null,"mean":null,"stddev":null,"min":null,"max":null}}}<br style="" class="yiv8934538002"><br style="" class="yiv8934538002">And for this I did not get any graph/rrd file.<br style="" class="yiv8934538002"><br style="" class="yiv8934538002">Please help me, Thank you. <br style="" class="yiv8934538002"><br style="" class="yiv8934538002">Plug-in configuration is:<br style="" class="yiv8934538002"><br
style="" class="yiv8934538002"><URL "http://localhost:5984/_stats"><br style="" class="yiv8934538002"> Instance "httpd"<br style="" class="yiv8934538002"> <Key "httpd/requests/count"><br style="" class="yiv8934538002"> Type "http_requests"<br style="" class="yiv8934538002"> </Key><br style="" class="yiv8934538002"><br style="" class="yiv8934538002"> <Key "httpd_request_methods/*/count"><br style="" class="yiv8934538002"> Type "http_request_methods"<br style="" class="yiv8934538002"> </Key><br style="" class="yiv8934538002"><br style="" class="yiv8934538002"> <Key "httpd_status_codes/*/count"><br style="" class="yiv8934538002"> Type "http_response_codes"<br style="" class="yiv8934538002"> </Key><br
style="" class="yiv8934538002"> </URL><br style="" class="yiv8934538002"># Database status metrics:<br style="" class="yiv8934538002"> <URL
"http://localhost:5984/_all_dbs"><br style="" class="yiv8934538002"> Instance "dbs"<br style="" class="yiv8934538002"> <Key "*/doc_count"><br style="" class="yiv8934538002"> Type "gauge"<br style="" class="yiv8934538002"> </Key><br style="" class="yiv8934538002"> <Key "*/doc_del_count"><br style="" class="yiv8934538002"> Type "counter"<br style="" class="yiv8934538002"> </Key><br style="" class="yiv8934538002"> <Key "*/disk_size"><br style="" class="yiv8934538002"> Type "bytes"<br style="" class="yiv8934538002"> </Key><br style="" class="yiv8934538002"> </URL><br style="" class="yiv8934538002"><br style="" class="yiv8934538002"><br style="" class="yiv8934538002"><br style=""
id="yiv8934538002yui_3_16_0_6_1406875379580_5" class="yiv8934538002"></div><div style="" class="yiv8934538002" id="yiv8934538002yui_3_16_0_1_1406875379580_2803"><br style="" id="yiv8934538002yui_3_16_0_6_1406875379580_5" class="yiv8934538002"></div></div></div></div></div></body></html>