Memcached monitoring.

Proactively monitor the health and performance of business-critical Memcached servers.

Analyze performance of your Memcached server. Take informed troubleshooting descisions by keeping track of critical metrics. Learn how the plugin works.

Memcached performance monitoring metrics:


Current number of bytes used by the server to store items. In other words, it can also mean, the number of bytes currently used for caching items.

Current connections

Number of connected clients. If this value represents none or too many, then something is wrong. The number of open connections to the Memcached server should be the same value on all servers during normal operation.

Total connections

Total number of connections opened since the server started running. Total connections should be way less than the total number of get commands, because typically you connect to memcached and send multiple get/set requests over the same connection.

Bytes read

Total number of bytes read by the server from network.

Bytes written

It is the total number of bytes sent over the network by the server, it has no bearing or connection on the total size of the data you're storing.

Limit maximum bytes

Number of bytes the server is permitted to use for storage.


Total number of worker threads requested. This is the number of threads used to process incoming requests. It is typically not useful to set this higher than the number of CPU cores on the memcached server.


An eviction is when an item that still has time to live is removed from the cache because a brand new item needs to be allocated.

How it works?

  • Log-in to your Site24x7 account. Sign up here if you don't have one.
  • Download and install the latest version of Site24x7 Linux Agent
  • Install the Memcached plugin
  • The agent will execute the Memcached plugin and push the data to the Site24x7 server


  • Site24x7 Memcache plugin uses "memcache" module to get the performance metrics of Memcached server

How to install memcache module?

Memcached plugin installation:

  • Create a directory with the name "memcached", under Site24x7 Linux Agent plugin directory - /opt/site24x7/monagent/plugins/memcached
  • Download the file "" from our GitHub repository and place it under the "memcached" directory
  • Commands to perform the above step:
  • cd /opt/site24x7/monagent/plugins/
    mkdir memcached
    cd memcached
  • Once the plugin file is downloaded, the agent will mark it up in the next data collection and you can view it in Site24x7 client

Memcached plugin configuration:

  • By default, the plugin will monitor Memcached instance that is configured on "localhost"
  • In order to change the monitoring configuration, go to plugins directory and edit the "#Config Section:" in file
  • Memcached plugin file location - /opt/site24x7agent/monagent/plugins/memcached/

    #Config Section:

Monitoring additional metrics:

  • To monitor additional metrics, edit the "" file and add the new metrics that need monitoring
  • Increment the plugin version value in the file "" to view the newly added metrics ( For e.g. Change the default plugin version from PLUGIN_VERSION = "1" to "PLUGIN_VERSION = "2")

Related plugins:

  • Redis plugin - Monitor performance metrics of your Redis databases
  • MySQL plugin - Analyze performance of your MySQL database servers
  • MongoDB plugin - Monitor the performance metrics of your MongoDB databases
  • Nagios plugin - Execute thousands of Nagios plugins in Site24x7 without the need of running a Nagios server
  • Out-of-the-box plugins - Monitor your entire app stack with our extensive list of integrations
  • Create custom plugins - Create custom Linux and Windows plugins and monitor custom attributes

World's leading companies


Don't have a Site24x7 account? Sign up now!