reids监控软件--redisMonitor

1.下载redisMonitor代码

 地址:https://github.com/litiebiao2012/redis-monitor

2.将代码导入到eclipse中

3.修改redis节点配置:/redis-monitor/src/main/resources/Redis-Server-Config.xml

<?xml version="1.0" encoding="UTF-8"?>
<Redis-Server-Config>
   <Redis-Servers>
      <Redis-Server uuid="0101">
         <name>userWriter</name>
         <description>用户写服务</description>
         <host>192.168.100.206</host>
         <port>6379</port>
         <maxActive>300</maxActive>
         <maxIdle>50</maxIdle>
         <maxWait>3000</maxWait>
         <testOnBorrow>true</testOnBorrow>
         <isMaster>true</isMaster>
         <Slaves>
            <slave uuid="0102">
               <name>userRead</name>
               <description>用户读服务</description>
               <host>192.168.100.206</host>
               <port>6379</port>
               <maxActive>300</maxActive>
               <maxIdle>50</maxIdle>
               <maxWait>3000</maxWait>
               <testOnBorrow>true</testOnBorrow>
               <isMaster>false</isMaster>
            </slave>
         </Slaves>
      </Redis-Server>
   </Redis-Servers>
</Redis-Server-Config>
对应修改自己redis的IP端口。

4.运行/redis-monitor/build.xml编译 (此步骤可以略过)

5.运行redis-monitor-master\script\shell\start.bat

 (linux需运行redis-monitor-master\script\shell\start.sh  ,记得修改执行权限)

由于默认jetty使用的是8888端口,记得不要冲突

6.浏览器访问http://127.0.0.1:8888 界面如下:




  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 9
    评论
评论 9
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值