共计 2092 个字符,预计需要花费 6 分钟才能阅读完成。
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 oO0OoO0OoO0Oo
26765:C 22 Nov 2018 20:46:31.066 # Redis version=5.0.2, bits=64, commit=00000000, modified=0, pid=26765, just started
26765: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.conf
26765: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 initialized
26765: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
正文完