Skip to content

Monitor Redis with ELK (Kibana and Elasticsearch)

Notifications You must be signed in to change notification settings

nickmaccarthy/redelk

Repository files navigation

REDELK

What is it?

In my environment we have a few different Redis clusters that we like to monitor. While I found other tools out there like redis-stats, I needed someting that was easy to setup and easily scalable to monitor our Redis clusters. By monitor I'm refering to output and calculations arond the INFO command in Redis.

This script will will run forever and is ment to be controlled with something like supervisord. Below is a sample supervisor config

Requirements

  • python 2.7
  • virtualenv
  • pip

Install

  1. git clone this repot
  2. cd <cloned_dir> && virtualenv env && source env/bin/activate
  3. pip install -r requirements.txt
  4. Copy config.yml.example to config.yml and fill in your relevent info
  5. Run it with something like supervisor
  6. Install the optional kibana4 dashboard ( json included ) into your kibana 4 instance

Sample kibana dashboard

alt text

Sample supervisord entry

[program:redelk]
command=/opt/monitor/redis_mon/env/bin/python /opt/monitor/redis_mon/redelk.py
directory=/opt/monitor/redis_mon
autostart=true
autorestart=true
logfile=/var/log/supervisor/redelk.log

About

Monitor Redis with ELK (Kibana and Elasticsearch)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages