Memcache: Monitoring Memcache with OpsDash

Quick Start

1. Install the OpsDash Smart Agent on the Memcache server that you wish to monitor. If you need instructions for how to do this, here they are: Debian/Ubuntu, CentOS/RHEL, Generic.

2. Edit the OpsDash Smart Agent configuration file at /etc/opsdash/agent.cfg and add a new service:

# choose a good, unique name for the service (here my-mc-1 is used)
service "my-mc-1" {
type = "memcached"
host = ""

3. Reload the OpsDash Smart Agent so that it picks up the new configuration:

sudo service opsdash-agent reload

4. You should see the service my-mc-1 appear under within a minute or so. Clicking on it should take you to the dashboard at If it does not, check the agent log file at /var/log/opsdash/agent.log.


  • You can install the OpsDash Smart Agent on any server that can connect to the Memcache instance -- adjust "" accordingly in the above instructions.

  • You can also specify a port (port = 11211) in the service configuration block if needed.

  • The OpsDash Smart Agent will also collect and report metrics of the server itself, where it is installed. This will appear under the "Servers" section on the Sources page.