Sitelet https://web.archive.org/web/20200907120640/https://github.com/Radha13/collectd-mcrouter/
Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Sep 18, 2017
Sep 18, 2017

README.md

collectd-mcrouter

A collectd plugin that collects metrics from Mcrouter stats file. It runs under collectd Python plugin.

McRouter automatically creates and updates several files useful to monitor it's state, which is by default created under /var/mcrouter/stats. More information on stats list here.

Requirements

Software version
Collectd 4.9 or later (for the python plugin)
Python 2.6 or later

Install

  1. Copy mcrouter_stats.py somewhere accessible by collectd, e.g /usr/share/collectd/collectd-mcrouter.
  2. Create a collectd configuration file (e.g mcrouter_stats.conf) for the plugin preferably in /etc/collectd/managed_config/ (see the example below).
  3. Restart collectd.

Sample configuration

<LoadPlugin python>
        Globals true
</LoadPlugin>

<Plugin python>
        # mcrouter_stats.py is at "/usr/share/collectd/collectd-mcrouter/mcrouter_stats.py"
        ModulePath "/usr/share/collectd/collectd-mcrouter"
        Interactive false
        Import "mcrouter_stats"
        <Module "mcrouter_stats">
                Port <mcrouter_port_number>
                # McRouter exposes metrics in "/var/mcrouter/stats"
                DataDir "/path/to/mcrouter/stats/file"
        </Module>
</Plugin>

Dashboard

  • Gets per second gets per second

  • Sets since process start sets since start

About

Collectd plugin for McRouter

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.