Redis Server Availability Test

Run this test at frequent intervals to check if the TCP port of the target Redis server is available and is listening for requests. You can also use this test to check whether/not the target Redis server responds to ping requests over the network. Sudden breaks in server connectivity can be detected in the process.

Target of the test :A Redis server

Agent deploying the test : An internal agent (recommended)

Outputs of the test : One set of results for the monitored Redis server

Configurable parameters for the test
Parameters Description

Test period

How often should the test be executed

Host.

The host for which the test is to be configured.

Port

The port at which the specified HOST listens.

Redis Password and Confirm Password

In some high security environments, a password may have been set for the Redis server, so as to protect it from unauthorized accesses/abuse. If such a password has been set for the monitored Redis server, then specify that password against REDIS PASSWORD. Then, confirm the password by retyping it against CONFIRM PASSWORD.

If the Redis server is not password protected, then do not disturb the default setting of this parameter.

To determine whether/not the target Redis server is password-protected, do the following:

  • Login to the system hosting the Redis server.

  • Open the redis.conf file in the <REDIS_INSTALL_DIR>.

  • Look for the requirepass parameter in the file.

  • If this parameter exists, and is not preceded by a # (hash) symbol, it means that password protection is enabled for the Redis server. In this case, the string that follows the requirepass parameter is the password of the Redis server. For instance, say that the requirepass specification reads as follows:

    requirepass red1spr0

    According to this specification, the Redis server is protected using the password red1spr0. In this case therefore, you need to specify red1spr0 against REDIS PASSWORD.

  • On the other hand, if the requirepass parameter is prefixed by the # (hash) symbol as shown below, it means password protection is disabled.

    # requirepass red1spr0

    In this case, leave the REDIS PASSWORD parameter with its default setting.

Measurements made by the test
Measurement Description Measurement Unit Interpretation

Redis server connectivity

Indicates whether/not network connection to the target server is available.

 

The values that this measure reports and their corresponding numeric values are listed in the table below:

Measure Value Numeric Value
Failure 0
Success 1

Note:

This measure reports the Measure Values listed in the table above to indicate the status of the network connection to the server. The graph of this measure however, indicates the same using the numeric equivalents only.

Redis server ping check

Indicates the status of the ping command issued by this test to check the server availability.

 

If the server responds to the ping request, with a pong response, then this response will report the value Success. If not, then the value of this measure will be Failure.

The values that this measure reports and their corresponding numeric values are listed in the table below:

Measure Value Numeric Value
Failure 0
Success 1

Note:

This measure reports the Measure Values listed in the table above to indicate the status of the ping The graph of this measure however, indicates the same using the numeric equivalents only.