Redis


Creating a new Redis monitor

Supported Versions: Redis 2.4 and above

To create a Redis database server monitor, follow the steps given below:

  1. Click on New Monitor link.
  2. Select Redis.
  3. Specify the Display Name of the Redis monitor
  4. Enter the HostName or IP Address of the host where Redis server runs.
  5. Enter the Port where the server is running.By default, it will be 6379. Or else you can also check it in the redis.conf file.
  6. To discover only this node and not all nodes in the cluster disable the option Discover all nodes in the cluster. By default, it is enabled.
  7. Check the Is Authentication Required field, to give the credentials to be used to connect to the Redis server. Now enter the Password of the credential.
  8. Specify the Polling Interval in minutes.
  9. If you are adding a new monitor from an Admin Server, select a Managed Server.
  10. 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.
  11. 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

Parameters Description
Availability and Performance History Displays the availability and performance history for the last six hours.
CPU Usage Specifies the usage of CPU in percentage.
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 cleint subscriptions.

Persistence

Parameters Description
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

Parameters Description
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.