Redis是一个功能强大、性能高效的开源数据结构服务器,Redis最典型的利用是NoSQL。
自己在工作中我的项目也是宽泛应用了Redis,工作中也遇到了Redis的数据可视化不便、Redis的数据查看保护艰难、Redis状态监控运维不易等问题。
置信大家在工作中也会遇到我说的这些问题,因为我也是一线的开发,也深切的感触到了没有棘手Redis治理监控工具带来的不便,通过一段时间的寻找应用,一款轻量高性能的Redis治理及监控工具WGCLOUD横空出世了。
上面我就具体给大家介绍一下WGCLOUD的装置及各项性能。
下载和装置,在官网有具体阐明:http://www.wgstar.tcom
我来说下WGCLOUD能够监测Redis哪些指标
1.能够监测Redis的过程内存使用率%
2.能够监测Redis的过程cpu使用率%
3.能够监测Redis的吞吐量
4.能够监测Redis的端口是否失常通信
5.能够监测Reids的日志文件
6.能够在Redis过程下线、端口不通、日志呈现谬误时候发送告警告诉
[root@centos04 bin]# ./redis-server 26765:C 22 Nov 2018 20:46:31.066 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo26765:C 22 Nov 2018 20:46:31.066 # Redis version=5.0.2, bits=64, commit=00000000, modified=0, pid=26765, just started26765:C 22 Nov 2018 20:46:31.066 # Warning: no config file specified, using the default config. In order to specify a config file use ./redis-server /path/to/redis.conf26765:M 22 Nov 2018 20:46:31.067 * Increased maximum number of open files to 10032 (it was originally set to 1024). _._ _.-``__ ''-._ _.-`` `. `_. ''-._ Redis 5.0.2 (00000000/0) 64 bit .-`` .-```. ```\/ _.,_ ''-._ ( ' , .-` | `, ) Running in standalone mode |`-._`-...-` __...-.``-._|'` _.-'| Port: 6379 | `-._ `._ / _.-' | PID: 26765 `-._ `-._ `-./ _.-' _.-' |`-._`-._ `-.__.-' _.-'_.-'| | `-._`-._ _.-'_.-' | http://redis.io `-._ `-._`-.__.-'_.-' _.-' |`-._`-._ `-.__.-' _.-'_.-'| | `-._`-._ _.-'_.-' | `-._ `-._`-.__.-'_.-' _.-' `-._ `-.__.-' _.-' `-._ _.-' `-.__.-' 26765:M 22 Nov 2018 20:46:31.104 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.26765:M 22 Nov 2018 20:46:31.104 # Server initialized26765:M 22 Nov 2018 20:46:31.104 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.26765:M 22 Nov 2018 20:46:31.105 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.26765:M 22 Nov 2018 20:46:31.105 * Ready to accept connections