欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

redis:redislive监控

程序员文章站 2022-06-15 22:45:10
...
redis监控
下载https://github.com/nkrode/RedisLive

安装python pip
pip install tornado

在src下
vi redis-live.conf
       "RedisServers":
        [
                {
                        "server": "172.16.30.57",
                        "port" : 6379,
                        "password" : "****"
                }
        ],

        "DataStoreType" : "redis",

        "RedisStatsServer":
        {
                "server" : "172.16.30.57",
                "port" : 6379,
                "password" : "****"
        },

        "SqliteStatsStore" :
        {
                "path":  "db/redislive.sqlite"
        }

启动
./redis-monitor.py --duration=30
./redis-live.py

访问
http://localhost:8888/index.html

相关标签: redis redislive