redis-monitor: A web visualization redis monitoring program. - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
请不要在回答技术问题时复制粘贴 AI 生成的内容
50vip
V2EX    程序员

redis-monitor: A web visualization redis monitoring program.

  •  2
     
  •   50vip 2015-11-30 11:19:34 +08:00 2442 次点击
    这是一个创建于 3608 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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

    1. git clone https://github.com/hustcc/redis-monitor.git
    2. 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.

    3. start up

      ./run_monitor

      or

      python run_monitor.py

      PS: change run_monitor mode to 755.

    4. Open in browser 127.0.0.1:7259, then you will see it.

    screenshot

    • basic information

    shot_1

    • connection time gragh

    shot_2

    • ops time gragh

    shot_3

    • cpu and mem gragh

    shot_3

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

    5 条回复    2015-11-30 14:55:00 +08:00
    suren1986
        1
    suren1986  
       2015-11-30 11:50:50 +08:00
    相比监控宝,有啥优势?
    50vip
        2
    50vip  
    OP
       2015-11-30 12:18:59 +08:00
    @suren1986 自己的数据自己做主,自己的监控自己说了算,自己的密码自己管理。
    50vip
        3
    50vip  
    OP
       2015-11-30 12:21:00 +08:00
    @suren1986 看了下,个人买不起监控宝~
    suren1986
        4
    suren1986  
       2015-11-30 14:41:10 +08:00
    @50vip 了解,谢谢~
    iyaozhen
        5
    iyaozhen  
       2015-11-30 14:55:00 +08:00 via Android
    @suren1986 还有一个优势,内网系统可以用。
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     1637 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 26ms UTC 16:17 PVG 00:17 LAX 09:17 JFK 12:17
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86