Redis monitoring.

Configure Redis plugin to monitor the performance metrics of your Redis databases.

Identify and resolve issues with Redis-based apps before end users are affected. Learn how the plugin works.

Redis performance monitoring metrics:

Used memory

Total number of bytes allocated by Redis.

Peak used memory

Peak memory consumed by Redis (in bytes).

Used CPU system

System CPU consumed by the Redis server.

Used CPU user

User CPU consumed by the Redis server.

Used CPU user children

User CPU consumed by the background processes.

Used CPU system children

System CPU consumed by the background processes.

Keyspace hits

Number of successful lookup of keys in the main dictionary.

Keyspace misses

Number of failed lookup of keys in the main dictionary.

Total connections received

Total number of connections accepted by the server.

Rejected connections

Number of connections rejected because of maxclients limit.

Connected clients

Number of client connections (excluding connections from slaves).

Connected slaves

Number of connected slaves.

How it works?

  • Log-in to your Site24x7 account. Sign up here if you don't have one.
  • Download and install the latest version of Site24x7 Linux Agent
  • Install the Redis plugin
  • The agent will execute the Redis plugin and push the data to the Site24x7 server

Prerequisites:

  • Site24x7 Redis plugin uses "redis" module to get the performance metrics of Redis server

How to install redis module?

Redis plugin installation:

  • Create a directory with the name "redis", under Site24x7 Linux Agent plugin directory - /opt/site24x7/monagent/plugins/redis
  • Download the file "redis.py" from our GitHub repository and place it under the "redis" directory
  • Commands to perform the above step:
  • cd /opt/site24x7/monagent/plugins/
    mkdir redis
    cd redis
    wget https://raw.githubusercontent.com/site24x7/plugins/master/redis/Redis.py
  • Once the plugin file is downloaded, the agent will mark it up in the next data collection and you can view it in Site24x7 client

Redis plugin configuration:

  • By default, the plugin will monitor Redis instance that is configured on "localhost"
  • In order to change the monitoring configuration, go to plugins directory and edit the "#Config Section:" in Redis.py file
  • Redis plugin file location - /opt/site24x7agent/monagent/plugins/redis/Redis.py

    #Config Section:
    REDIS_HOST = "localhost"
    REDIS_PORT = "6379"
    REDIS_USERNAME = "root"
    REDIS_PASSWORD = ""
    REDIS_DBS = "0"
    REDIS_QUEUES = ""

Monitoring additional metrics:

  • To monitor additional metrics, edit the "Redis.py" file and add the new metrics that need monitoring
  • Increment the plugin version value in the file "Redis.py" to view the newly added metrics ( For e.g. Change the default plugin version from PLUGIN_VERSION = "1" to "PLUGIN_VERSION = "2")

Related plugins:

  • MySQL plugin - Analyze performance of your MySQL database servers
  • Memcached plugin - Analyze performance of your Memcached server
  • NGINX plugin - Optimize NGINX server performance and get comprehensive management reports
  • Nagios plugin - Execute thousands of Nagios plugins in Site24x7 without the need of running a Nagios server
  • Out-of-the-box plugins - Monitor your entire app stack with our extensive list of integrations
  • Create custom plugins - Create custom Linux and Windows plugins and monitor custom attributes
Trusted

World's leading companies

Client

Don't have a Site24x7 account? Sign up now!