Redis监控程序--RedisMonitor

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接: https://blog.csdn.net/cuiyaonan2000/article/details/100073804

序言

            Redis服务的监控程序很多,之前写了一个RedisLive.但是免费的且一直没有维护的就容易产生问题.(主要是版本兼容性,因为长时间没人更新么)

           除了CUP的使用,内存的使用.连接的数量,其实我还想知道哪些是长时间保存在redis里的.

          这里使用Centos7的环境来搭建,同时需要python的支持.centos7默认自带python,所以不需要安装python了.搭建过程中会提示一些版本问题,可以忽略.不影响最后的使用(这个比较坑啊,代码很久都没更新了.版本兼容不好.建议还是用命令来查看服务情况吧.如果有更好的开源可视化redis监控也请告知[email protected])

操作步骤



[root@localhost cuiyaonan2000]# yum install -y iptables-services

[root@localhost cuiyaonan2000]# wget https://bootstrap.pypa.io/get-pip.py

[root@localhost cuiyaonan2000]# python get-pip.py

[root@localhost cuiyaonan2000]# pip –V


#首先安装python库
[root@localhost cuiyaonan2000]# pip install redis-monitor

#初始化配置和数据库
[root@localhost cuiyaonan2000]# redis-monitor init

#启动 webserver
[root@localhost cuiyaonan2000]# redis-monitor start

猜你喜欢

转载自blog.csdn.net/cuiyaonan2000/article/details/100073804
今日推荐