Difference between revisions of "Plugin:cURL-JSON"

From collectd Wiki
Jump to: navigation, search
(Created initial page.)
(No difference)

Revision as of 10:27, 12 July 2009

CouchDB plugin
Type: read
Status: in development
First version: 4.8
Copyright: 2009 Doug MacEachern
2006–2009 Florian octo Forster
License: GPLv2
Manpage: collectd.conf(5)
List of Plugins


Queries pages from a CouchDB server. The returned JSON data is parsed using yajl and interpreted according to user-supplied rules. This plugin is a generic plugin, i.e. it cannot work without configuration, because there is no reasonable default behavior. Please read the Plugin couchdb section of the collectd.conf(5) manual page for an in-depth description of the plugin's configuration.


<Plugin couchdb>
# See: http://wiki.apache.org/couchdb/Runtime_Statistics
  <URL "http://localhost:5984/_stats">
    Instance "httpd"
    <Key "httpd/requests/count">
      Type "http_requests"

    <Key "httpd_request_methods/*/count">
      Type "http_request_methods"

    <Key "httpd_status_codes/*/count">
      Type "http_response_codes"
# Database status metrics:
  <URL "http://localhost:5984/_all_dbs">
    Instance "dbs"
    <Key "*/doc_count">
      Type "gauge"
    <Key "*/doc_del_count">
      Type "counter"
    <Key "*/disk_size">
      Type "bytes"

Example graphs

None yet. Add one now!