/sd-redis-plugin

Redis Server Density Plugin

Primary LanguagePythonMIT LicenseMIT

Redis Plugin for ServerDensity

Installation

  1. Copy Redis.py to your sd-agent plugins directory

    $ grep plugin_directory /etc/sd-agent/config.cfg
    # => plugin_directory: /opt/sd-agent/plugins
    
    $ cp Redis.py /opt/sd-agent/plugins
  2. Install Redis python package

    $ pip install -r requirements.txt
  3. Add config to /etc/sd-agent/config.cfg (optional)

    # Redis
    redis_host: localhost
    redis_port: 6379
    redis_password:
  4. Restart sd-agent

    $ service sd-agent restart

Credits

This plugin borrows heavily from the no-longer-supported Redis Plugin for ServerDensity from cloudControl.