Capture performance and usage data about your Memcached 1.4+ servers to give you insights and improve troubleshooting.
Key, real-time metrics provide an overview of your server as well as detailed measurements about system utilization, cache metrics, and items stored.
Cache Use: Cache miss ratios for all operations (e.g. get/incr/decr), total operations broken down by hits/misses
System Use: Total memory available and consumed, active connections to the service, CPU utilization, and thread use
Items: Average item size, total number of items stored, item creation rate, evictions and reclaims per second
To use this plugin, you must have:
- A New Relic account
- A server running Memcached v1.4 or greater
- Ruby version 1.8.7 or better
- Download the latest
- Extract the downloaded archive to the location you want to run the Memcached agent from
bundle installto install required gems
config/newrelic_plugin.ymlwith your license key and to point to your instances of Memcached. You can add as many hosts as you'd like If your Memcached instances are bound to an external IP, use that value for the host field. If you omit the 'port' field it will default to '11211'
- Edit the
config/newrelic_plugin.ymlfile by changing the name and endpoint fields to match your Memcached server configuration
- From your shell run:
- Wait a few minutes for New Relic to begin processing the data sent from your agent.
- Log into your New Relic account and click on
Memcachedon the left hand nav bar to start seeing your Memcached metrics
Installation with Chef/Puppet
Chef and Puppet are tools that automate software installation. The Memcached plugin has installation support for both:
- Chef: http://community.opscode.com/cookbooks/newrelic_plugins
- Puppet: https://forge.puppetlabs.com/newrelic/newrelic_plugins
Note: For more information on using Chef and Puppet with New Relic, see the New Relic docs: https://docs.newrelic.com/docs/plugins/plugin-installation-with-chef-and-puppet
More in-depth installation and configuration details are included in the README file packaged with the plugin.
The source code is available on GitHub for full review. New Relic's Memcached plugin is offered under the MIT license.
Additional information regarding this plugin can be located in the README file on its Github project page:
Plugin support or troubleshooting assistance is available by clicking the "Support site" link in the upper right-hand corner of the page, or go directly to support.newrelic.com.
The Memcached - Ruby plugin extends the power of New Relic's monitoring capabilities.
Get This Plugin
Already have a New Relic account? Log in and begin using this plugin.