Skip to content

v2hack/redis-monitor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redis-monitor

base RedisLive

features:

  • cluster support: support multiple redis-instance in one page
  • light load: redis info base
  • metrics: memory, comands, Key HitRate, keyspace, master-slave change, expire keys
  • notification: crash, master-slave stats changed notify

configuration

vim src/redis_live.conf

config:

  • RedisStatsServer: metrics also save in redis, config RedisStatsServer for metrics storage backend

  • others: other setttigs you can config on dashboard settings tab

{"master_slave_sms": "1,1",
 "RedisStatsServer": {"port": 6379, "server": "127.0.0.1"}
, "sms_alert": "192.168.110.207:9999",
 "DataStoreType": "redis",
  "RedisServers": [
  {"instance": "Master1", "group": "Test1", "port": 6379, "server": "127.0.0.1"}
, {"instance": "Slave1", "group": "Test1", "port": 6380, "server": "127.0.0.1"}
]}

install deps

pip install -r requirements.txt

run

cd src/
# 1. start web process
python redis_live.py
# 2. start metrics collector process
python redis_monitor.py 

# 3. open dashboard: http://127.0.0.1:8888/index.html

install centos services

cd install/centos
./redis-monitor.sh

overview

Redis Live Redis Live

About

monitor redis perfmonance、master-slave status

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 49.1%
  • Python 28.6%
  • HTML 18.3%
  • CSS 2.9%
  • Shell 1.1%