Monitor memcache using cacti (1)

Source: Internet
Author: User

ExploitationCactiMonitoringMemcacheThe procedure is as follows:

After we deploy memcache, it does not mean that we should monitor the memcahce status, memory usage, and the value of hit/miss, with cacti, we can monitor the various memcache parameters. Next we will learn how to use cacti to monitor our memcache!

First, we can learn how to add cacti and memcache monitoring from the official website! The address is as follows:

Http://dealnews.com/developers/cacti/memcached.html

Let's talk about the procedure in detail!

1. Python Client API Installation

Download Python Client API (download on cacti server)

Wget ftp://ftp.tummy.com/pub/python-memcached/python-memcached-1.45.tar.gz

Tar xzvf python-memcached-1.45.tar.gz

Python setup. py install

The following error occurs when I run the preceding command:

Traceback (most recent call last ):

File "setup. py", line 3, in?

From setuptools import setup

ImportError: No module named setuptools

Solution: yum-y install python-setuptools

After successful installation, you can install python setup. py install again.

2. Template Installation

Wget http://content.dealnews.com/dealnews/developers/cacti-memcached-1.0.tar.gz

Tar zxvf cacti-memcached-1.0.tar.gz

Cd cacti-memcached

Copy memcached. py to the Cacti scripts directory!


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.