Zabbix Monitoring Redis

Source: Internet
Author: User

Monitoring premise: That is, the default single-machine runs only one Redis instance, and the default port to run is 6379 (or another port, you need to

Sed-i ' s/6379/you modify the port/g ' XML template file to modify the port number in the template file

Server-side configuration: Import Redis templates


Client Operation:

1 Changing the configuration file/etc/zabbix/zabbix_agentd.conf

Added at the end: Userparameter=redis_stats[*],/usr/local/redis/bin/redis-cli-h 127.0.0.1-p $ info|grep $2|cut-d:-f2

2 Restart AGENTD Service


3 server-side test for data return

Zabbix_get-s 192.168.234.133-p 10050-k redis_stats[6379,total_connections_received] # #133是客户端ip

If a number is returned and the description is normal.


4 finally confirm whether the plot

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/80/F0/wKiom1dFF2_w4xjGAAAXEvmXuAA357.png "title=" Redis.png "alt=" Wkiom1dff2_w4xjgaaaxevmxuaa357.png "/>


This article is from the "Drifting Away" blog, make sure to keep this source http://825536458.blog.51cto.com/4417836/1782907

Zabbix Monitoring Redis

Related Article

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.