redis-monitor
A web visualization redis monitoring program. Performance optimized and very easy to install and deploy, base on Flask and sqlite. the monitor data come from redis.info().
一个可视化的 redis 监控程序,性能优化,并且非常容易安装部署,基于 flask 框架,数据库采用 sqlite ,数据监控来源于 redis info 。
github: https://github.com/hustcc/redis-monitor
Demo Site: http://redis-monitor.atool.org/
Welcome to issue and push request. https://github.com/hustcc/redis-monitor
What
The monitor data include:
- the redis server infomation, include redis version, online time, online time, os version and information, and so on.
- realtime cmd exec infomation, such as ops, connected count, and so on.
- realtime gragh of the connect time.
- realtime gragh of ops.
- realtime gragh of cpu and mem usage.
- some simple operate, such as flushdb and add key-velue.
Why
There are so many redis monitor code in github, why do this?
Because I clone so many program, but all exist difficult, cause by below:
- My kownleage is pool.
- The config not easy, I have do many thing to run the code, and I need to rewrite some code on my dev environment.
- Incompatible versions, I can run to monitor redis 2.6, but not work with 2.8.
- Start up not easy, some project, I need to run a data collection process, and a web process.
- Performance Loss, when I open 10 browser tab, the monitor can u
How to Use
- git clone https://github.com/hustcc/redis-monitor.git
install the environment, so easy, if you are a pythoner, I believe you can skip this step.
pip install Flask
pip install requests
pip install redis
install sqlite3 environment, linux include.
start up
./run_monitor
or
python run_monitor.py
PS: change run_monitor mode to 755.
Open in browser 127.0.0.1:7259, then you will see it.
screenshot
- basic information

- connection time gragh

- ops time gragh

- cpu and mem gragh

这一次是英文的 readme ,请忽视不专业的英文,更新内容:
增加 redis role 信息
增加 demo site
增加 db 的 flushall 操作(后续增加查看内容和 add , set 操作)