master node in the Redis cluster
Node roles are determined by order, first after master and then slave
9. Common commands
View cluster status
REDIS-TRIB.RB Check Ip:port #检查集群状态
Redis-cli-c-H ip-p Port #使用-C Enter the cluster command mode
REDIS-TRIB.RB rebalance Ip:port--a
The cacti template of percona is still very handsome, but for multiple instances such as redis and memercache, only the default 6379 or one other port can be monitored (in short, all instances cannot be monitored ), this is a pity. To achieve monitoring of all objects that can be monitored, you must customize the template. After half a day of exploration, we finally achieved it. Let's take a look at the han
Tags: The company's recent Redis server pressure is growing, the approximate situation, only from the operating system level, not exhaustive, so colleagues in the Internet to find a called redis-live open source projects, I have deployed a bit, and really a little meaning, and solve some of the small debug, the original here For now, more and more of the NoSQL business is being used, but the
About RedisRedis is an advanced Key-value database. It is similar to memcached, but the data can be persisted and the supported data types are rich. There are 5 types of strings, linked lists, hashes, collections, and ordered collections. Support for compute and intersection and complement sets (difference) on the server side, as well as a variety of sorting functions. So Redis can also be viewed as a data structure server. All
Redis Introduction
Redis is an advanced key-value database. It is similar to memcached, but data can be persistent and supports a wide range of data types. There are five types: String, linked list, hash, set, and ordered set. Allows you to compute, merge, and merge sets (difference) on the server side. Multiple sorting functions are also supported. So redis can
One: Install the Redis-python moduleWGE thttps://pypi.python.org/packages/source/r/redis/redis-2.9.1.tar.gzTar XF redis-2.9.1.tar.gzCD redis-2.9.1Python setup.py InstallTwo: Configuration Zabbix(1) Put the zabbix-redis.py into the/usr/local/zabbix/etc/scripts directory(2) Ch
This article is from a series of articles by Simon Maynard, co-founder of bugsng. Based on the experience in using Redis over the past few years, the author systematically summarizes the Redis monitoring methods. There are a lot of things available, which is worth reading.Original article: Redis Masterclass-Part 2, Mon
In the first few days of work encountered a problem, the deployment of the server, you need to use RABBITMQ to bring a Web UI monitoring component, but 15672 of the port is not mapped externally. Several approaches have been tried. Beginning to modify the Rabbitmq.config,rabbitmq-ebv.config, is always unsuccessful, because the change is the rabbitmq-server of the boot port number, from the outside access is
I have introduced redis using zabbix to monitor fixed port 6379 (article address is http://dl528888.blog.51cto.com/2382721/1361407), there is a bad place that only monitoring fixed port 6379, if it is not port 6379, you need to modify the template. If the host has multiple redis instances, you need to have different redis
The actual environment is as follows:
10.0.0.167:6380
10.0.0.165:6379/6380
1. Download Redis Monitor Plugin
Download link Address:
Http://exchange.nagios.org/directory/Plugins/Databases/check_redis-2Epl/details
Https://github.com/willixix/WL-NagiosPlugins
2. Define Monitoring commands
Add the following in Commands.cfg:# Check RedisDefine Command {Command_name Check_redisCommand_line $USER 1$/check_r
1: Write the automatic discovery script on the Zabbix_agentd side, mainly to automatically discover the monitoring port of Redis, the script is as follows:vim/usr/local/zabbix/zabbix_discover_redis.sh#!/bin/sh#zhuangweihong 20160419 Zabbix Discover Redisres= ' sudo ss-tulnp|grep redis|awk ' {print $ (NF-2)} ' |awk-f ': ' {print $ (NF)} ' |sort-u 'If [-Z ' $res ']
Redis's list type has a good feature, that is, the length of the current list will be returned after each element is added. With this feature, we can monitor its length, for example, our key is the IP address registered by the user, and the list stores the ID of the user already registered on this IP address. When the number of users exceeds 1000, an alarm is triggered, the subscription and release functions of redis help you easily implement the Noti
As: http://download.csdn.net/detail/hellopengyl/9617697, there are 2 versions, one is written in Perl script, one is written in PHP script, you can choose one, And the other two are monitoring MySQL. Here is the Perl script.[[emailprotected]libexec]#chmod+xcheck_redis.p*[[emailprotected] Libexec]#llcheck_redis.p*-rwxr-xr-x.1rootroot15812oct10 2014check_redis.php-rwxr-xr-x.1rootroot141829Oct10 2014check_redis.pl[[emailprotected]libexec]#./check_redis.p
Monitoring servers, such as mysql and redis1: software application source-Official WebsiteDesigned for All database managers and Internet enterprise database monitoring without the need to deploy agents, the system can easily monitor over 1000 database instances, improve flexible alarm configurations, and provide detailed performance analysis indicators.
Deployment environment:
Linux environment: CentOS7.2
First, Monitoring Collection basis: Similar throughput, number of cached queries, hit rate, etc.Second, The main monitoring indicator analysis, through the stats command to collect:Uptime # #memcached run-time lengthCurr_connections # # Current number of connectionsTotal_connections # # total number of connections ever openedConnection_structures # # number of connections allocated by the serverCmd_get #
, the effect is as follows650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/80/5E/wKioL1c-yjijoYkOAAAxZAum9y8283.png "title=" 22.png "alt=" Wkiol1c-yjijoykoaaaxzaum9y8283.png "/>The Zabbix server tests if key has data returned:[Email protected] ~]# /kuaibao/server/zabbix/bin/zabbix_get-s 192.168.1.105-p 10050-k Redis_stats[6380,total_co Nnections_received]1573020Wait a few minutes to view the graphicsGraphics Select Redis Port connections_638
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 toSed-i ' s/6379/you modify the port/g ' XML template file to modify the port number in the template fileServer-side configuration: Import Redis templatesClient Operation:1 Changing the configuration file/etc/zabbix/
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.