监控 Redis 服务方案

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

image

Opserver

git clone git@github.com:opserver/Opserver.git

image

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

转载于:https://www.cnblogs.com/Irving/p/5420157.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值