Skip to content

collectors MemcachedCollector

Rob Smith edited this page Jul 13, 2012 · 19 revisions

MemcachedCollector

Collect memcached stats

Dependencies

  • subprocess

Example Configuration

diamond.conf

    [[MemcachedCollector]]
    enabled = True
    
    [[[hosts]]]
    
    [[[[app-1]]]
    host = localhost
    port = 11211

Repeat the app-1 block as many times as needed for different host/port combos

Options

  • Generic Options
  • hosts: Complex set of hosts and ports to collect
  • enabled: Enable collecting these metrics
  • publish: Which rows of 'status' you would like to publish. Telnet host port' and type stats and hit enter to see the list of possibilities. Leave unset to publish all.
  • byte_unit: Default numeric output(s)

Example Output

All keys are prefixed with nodes.hostname by default

Clone this wiki locally