PyMunin Munin Multigraph Monitoring Plugin for Memcached Distributed Memory Object Caching System.

Multigraph Plugin: Yes
Multi-instance Plugin: Yes


The plugin implements the following graphs:

  • memcached_connections

  • memcached_items

  • memcached_memory

  • memcached_traffic

  • memcached_connrate

  • memcached_reqrate

  • memcached_statget

  • memcached_statset

  • memcached_statdel

  • memcached_statcas

  • memcached_statincrdecr

  • memcached_statevict

  • memcached_statauth

  • memcached_hitpct


Sample graphs for plugin:

Memcached - Active Connections Memcached - Items
Memcached - Memory Usage Memcached - Throughput - Network
Memcached - Throughput - Connections Memcached - Throughput - Request Rate
Memcached - Stats - Get Memcached - Stats - Set
Memcached - Stats - Evictions Memcached - Hit Percent


Configuration variables are passed to the Munin Plugins using environment variables. The environment variables for plugins are usually set in the plugin configuration files in the folder: /etc/munin/plugin-conf.d

The configuration variables implemented by the plugin are listed in the following table:

Variable Description
host Memcached Server IP.
( by default.)
port Memcached Server Port
(11211 by default.)
socket_file Memcached named socket file.
(The host and port arguments are ignored and UNIX socket is used for connecting to the server.)
include_graphs Comma separated list of enabled graphs.
(All graphs enabled by default.)
exclude_graphs Comma separated list of disabled graphs.

Additionally the following configuration variables are implemented by the plugin for Multi Instance support:

Variable Description
instance_name Name of instance.
instance_label Graph title label for instance. (Default is the same as instance name.)
instance_label_format Controls how the instance label will be added to the graph title:
  • suffix (Default)
  • prefix
  • none


Memcached Cache Server Plugin ( memcachedstats ) has been developed by Ali Onur Uyar ([aouyar @ GitHub] (https://github.com/aouyar)).


Memcached Cache Server Plugin ( memcachedstats ) is copyrighted free software made available under the terms of the GPL License Version 3 or later.

See the file COPYING that acompanies the code for full licensing information.