Redis Server Monitoring


Creating a new Redis monitor

Supported Versions: Redis v2.4 to v7.0

Prerequisites for monitoring Redis: Click here

Using the REST API to add a new Redis monitor: Click here

Applications Manager's Redis monitoring tool will ensure a healthy and stable Redis system with efficient performance. To create a Redis database server monitor, follow the steps given below:

  1. Click on Add New Monitor link under New Monitor dropdown.
  2. Select Redis.
  3. Specify the Display Name of the Redis monitor.
  4. Enter the HostName or IP Address of the host where the Redis server is running.
  5. Enter the Port where the server is running. By default, it will be 6379. You can also find the port number in the redis.conf file located at the root installation directory of Redis.
  6. To discover only this node and not all nodes in the cluster, disable the option Discover all nodes in the cluster. By default, this option is enabled.
  7. Select the Authentication Type to be used to connect to the Redis server:
    • Default Authentication type requires the password of the Redis server.
    • ACL-Based Authentication type requires a username and valid password.
  8. Enter the Username and Password credentials.
  9. Specify the Polling Interval in minutes.
  10. If you are adding a new monitor from an Admin Server, select a Managed Server.
  11. Choose the Monitor Group with which you want to associate the Redis server to, from the combo box (optional). You can choose multiple groups to associate your monitor.
  12. Click Add Monitor(s). This discovers the Redis server from the network and starts monitoring it.

If you have added Monitors and not associated them with a Monitor Group, you can do this manually anytime. For information on associating a Monitor with a Monitor Group, refer to Associating Monitor with Monitor Groups topic.

Monitored Parameters

Redis database server is monitored based on the parameters or the attributes listed below. These attributes provide information about the functioning of Redis database. You can also configure thresholds for the attributes monitored by the server based on these details.

  • Availability tab shows the availability history of the Redis database for the past 24 hours or 30 days.
  • Performance tab shows the Health Status and events for the past 24 hours or 30 days.
  • List view tab enables you to perform bulk admin configurations.

Click on the individual monitors listed to view the following information:

Monitor Information

This tab displays the basic information like the name of the server, host name and the port where the server is running. Additional parameters like ProcessID, RunID, uptime and associated groups are also displayed.

Performance

ParametersDescription
Availability and Performance History Displays the availability and performance history for the last six hours.
System CPU Usage Amount of CPU used by system initiated processes (in percentage).
User CPU Usage Amount of CPU used by user initiated processes (in percentage).
Memory Utilization Percentage Amount of memory utilized by the Redis server (in percentage).
System CPU Usage/Min Amount of CPU used by system initiated processes (in milliseconds/minute).
User CPU Usage/Min Amount of CPU used by user initiated processes (in milliseconds/minute).
Children CPU Usage The CPU consumed by the background processes (like SORT, SUNION, BGSAVE, BGREWRITEAOF).
Memory Utilization Specifies the used, free and total memory of the server in mega bytes.
Memory Fragmentation Ratio The ratio between the number of bytes that Redis allocated as seen by the operating system and the total number of bytes allocated by Redis using its allocator.
Connected/ Blocked Clients Number of client connections and number of clients pending on a blocking call.
Rejected Connections Number of connections rejected because of maxclients limit.
Connections Stats Number of connections accepted by the server per second.
Operations Stats Number of commands processed per second.
Keyspace Stats Specifies the number of successful and failed lookup of keys in the main dictionary.
Keyspace Hit Percentage Percentage of the number of successful and failed lookup of keys in the main dictionary.
Expired/ Evicted Key Stats Displays the total number of key expiration events and the number of evicted keys due to max memory limits.
Publish Subscribe Stats The global number of pub/sub channels with client subscriptions.

Persistence

ParametersDescription
Persistence Stats Displays the details about RDB and AOF persistence states like the status of the last RDB save operation, status of the AOF rewrite operation, etc.
Database Stats Displays the details about the database, like the db name, total number of keys and number of expired keys.

Replication

ParametersDescription
Replication Details Displays if the replication role is master or slave. In case of slave, master node details like master host, master port and status of the link, etc., are displayed.
Slave Connections Specifies the number of slaves connected. This graph will be populated in case of master node alone.