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
下载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