安装Python支持:
yum install python-setuptools
下载安装python for memecached api,Python Client API Installation:
地址:
http://dealnews.com/developers/cacti/memcached.html
tar xzf python-memcached-<ver>.tar.gz.
python setup.py install
模板安装,Template Installation:
下载 cacti-memcached-.tar.gz
tar xzf cacti-memcached-<ver>.tar.gz
Copy (or upload) the memcached.py script to the <cacti path>/scripts/ directory on the server that cacti is installed on.
[optional] – Verify that the memcached.py script properly works by opening a console or ssh connection to the server and typing:
python <cacti path>/scripts/memcached.py <hostname>
导入模板cacti_memcached_host_template.xml:
Open and login to your cacti installation's console in your web browser and choose Import Templates from the menu on the left.
In the Import Templates section, click the Browse button to Import Template from Local File. Navigate to the directory where you extracted this template and choose the cacti_memcached_host_template.xml file to be imported.
Click the Save button to import the template.
原创文章,转载请注明: 转载自素食勤俭敬老孝慈
本文链接地址: centos系统用cacti监控memcached
文章的脚注信息由WordPress的wp-posturl插件自动生成