RedisLive
easy_install pip
wget https://bootstrap.pypa.io/get-pip.py --no-check-certificate
python get-pip.py
pip install tornado redis python-dateutil
如果 Python < 2.7 需要安装
pip install argparse
git clone https://github.com/kumarnitin/RedisLive.git
#配置
{
"RedisServers":
[
{
"server": "192.168.210.31",
"port" : 6379
},
{
"server": "192.168.210.63",
"port" : 6379
}
],
"DataStoreType" : "sqlite",
"SqliteStatsStore":
{
"path": "/opt/RedisLive/src/db/redislive.sqlite"
}
}
#启动
./redis-monitor.py –duration 120 &./redis-live.py &
#安装:
yum install tmux
#基本使用
tmux # 运行 tmu2 以256终端运行
C-b d # 返回主 shell , tmux 依旧在后台运行,里面的命令也保持运行状态
tmux ls # 显示已有tm(C-b s)
tmux attach-session -t 选择tmux
tmux new-session -s sessiona
tmux kill-session -t session-me
Opserver
git clone git@github.com:opserver/Opserver.git
REFER:
http://www.nkrode.com/article/real-time-dashboard-for-redis
http://www.linuxyan.com/cacti-nagios/231.html
Redis监控方案
http://my.oschina.net/guol/blog/182265
Redis系列(五)-Opserver的监控
http://www.cnblogs.com/mushroom/p/4609365.html