Zabbix monitor memcache status and other service processes

Source: Internet
Author: User

One, in the client

1. Add to/usr/loca/zabbix/conf/zabbix_agentd.conf

Userparameter=memcached_stats[*],(echo stats; sleep 1) | telnet 127.0.0.1 $2>&1 | awk '/stat $/{print $NF} 'Define the key command to determine Userparameter=mysql.status,netstat-ntupl|grep 3306 |grep mysql |wc |awk ' {print $} '///mysql status 2, heavy Kai Zabbix Agent Service

Second, the service side

1. Create a memcache template in the Zabbix Web interface

Select configuration in the Web-template Select the main cluster group.

2. Click on the template you just created, click Apply Set, create an app set,

3. Create monitoring items, monitor port11211, use their own key values, net.tcp.listen[11211]

4. Create a trigger:

Template attachment:

Http://pan.baidu.com/s/1mik9jMK

5. Add the appropriate host when the template is finished.

Zabbix monitor memcache status and other service processes

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.