redis:redislive监控
澹台冯浩
2023-12-01
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