If you're using Linux servers, use the Redis plugin installer that checks the prerequisites and installs the plugin with a bash script. You don't need to manually set up the plugin if you're using the installer.
Execute the command below in the terminal to run the installer and follow the instructions displayed on-screen:
wget https://raw.githubusercontent.com/site24x7/plugins/master/redis/installer/Site24x7redisPluginInstaller.sh && sudo bash Site24x7redisPluginInstaller.sh
The Redis plugin supports bulk installation across multiple servers through automation using Ansible. To install the plugin using Ansible, refer to the Redis Ansible playbook.
If you're not using Linux servers or want to install the plugin manually, follow the steps below.
pip3 install redis
wget https://raw.githubusercontent.com/site24x7/plugins/master/redis/redis.py && sed -i "1s|^.*|#! $(which python3)|" redis.py
wget https://raw.githubusercontent.com/site24x7/plugins/master/redis/redis.cfg
python redis.py --host "localhost" --port "6379" --password "redis_password"
[redis]
host = "localhost"
port = "6379"
password = "redis_password"
The agent will automatically execute the plugin within five minutes and display the performance data in Site24x7.
To view the plugin monitor and the associated performance charts:
Want to learn more?
Interested in our services?