Skip to content

monitor redis perfmonance、master-slave status、send sms alert when unexpected happend。redis 生产web监控工具,监控服务性能并异常时短信报警。去掉sqlite数据存储支持,没必要。

License

Notifications You must be signed in to change notification settings

bigdatata/redis-monitor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redis-monitor

base RedisLive,monitor multiple redis-server in product enviroment:

    1. monitor multiple redis-instance in one page
    1. monitor memory,comand per sec,HitRate,keyspace, master-slave change,expire
    1. sms alert when crash , master-slave stats changed

install

in src/script/redis-monitor.sh add redis-monitor as a startup service for redhat
python redis_live.py #start web with port 8888
python redis_monitor.py # start info collector
#start daemon
python redis_live_daemon.py
python redis_monitor_daemon.py

Configuration

edit redis-live.conf : update the value of the key RedisServers to the redis instances you want to monitor. You can monitor multiple instances by appending more values to the RedisServers list. update the value of the key RedisStatsServer to the redis instance you will use to store RedisLive data (this redis instance is different from the redis instances you are monitoring). passwords can be added as an optional parameter for any redis instance if you don't have a spare redis instance to use to store Redis Live data, then you can configure to use sqlite by changing "DataStoreType" : "sqlite"

###Start RedisLive

  • start the monitoring script ./redis-monitor.py --duration=120 duration is in seconds (see caveat)
  • start the webserver ./redis-live.py
  • RedisLive is now running @ http://localhost:8888/index.html

overview

Redis Live Redis Live

About

monitor redis perfmonance、master-slave status、send sms alert when unexpected happend。redis 生产web监控工具,监控服务性能并异常时短信报警。去掉sqlite数据存储支持,没必要。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published