지금까지 존제하는 Redis 모니터링 서비스
https://github.com/PrettySimple/redis-monitor
https://github.com/steelThread/redmon
https://github.com/simonw/django-redis-monitor
https://github.com/junegunn/redis-stat
redis-stat 설치하기
redis-stat은 redis 서버들을 모니터링 하기 위해 만들어진 모니터링 서비스 이다.
해당 프로젝트는 ruby로 만들어져 ruby를 꼭 인스톨 해줘야된다.
1. ruby 설치
yum install ruby ruby-devel ruby-irb ruby-rdoc ruby-ri
yum install rubygems
git clone https://github.com/junegunn/redis-stat.git
해당 디렉토리로 이동후
gem install redis-stat
설치 끝~~~
2. redis-stat 사용하기
USAGE
usage: redis-stat [HOST[:PORT] …] [INTERVAL [COUNT]]
-a, –auth=PASSWORD Password
-v, –verbose Show more info
–style=STYLE Output style: unicode|ascii
–no-color Suppress ANSI color codes
–csv=OUTPUT_CSV_FILE_PATH Save the result in CSV format
–server[=PORT] Launch redis-stat web server (default port: 63790)
–daemon Daemonize redis-stat. Must be used with –server option.
–version Show version
–help Show this message
Running command-line Example
redis-stat 1
redis-stat 1 10
redis-stat –verbose
redis-stat localhost:6380 1 10
redis-stat localhost localhost:6380 localhost:6381 5
redis-stat localhost localhost:6380 1 10 –csv=/tmp/output.csv –verbose
모니터링 결과 웹으로 보기 ( 포트옵션을 지정하지 않으면 디폴트로 63790 임 )
–server 커맨드로 실행
redis-stat localhost:6380 localhost:6381 1.1.1.1:6380 –server=8080 –daemon –verbos 5
#–daemon 옵션을 안주면 쉘창에 로그들이 계속 해서 갱신됨.
redis-stat 과 redmon의 특징이 뭘까요?ㅠ redmon의 경우 구동될때 AOF에 쓰여지는거 같은데 자세히 설명은 없고…… 설치만..ㅠㅠ 흑흑흑…