Documentation

Redis Checks

About Redis Checks

The Redis check allows you to monitor Redis services in standalone, sentinel, or cluster configurations.

The check connects to the Redis service and makes an 'INFO' query and waits for a valid response.

When to use Redis Checks

NodePing's Redis checks are commonly used to verify the availability of a Redis service. It is often required to whitelist connections from our probes in the service firewall for the monitoring to function. A list of our probe IPs can be found in the FAQ.

If your Redis instance requires authentication please remember that providing a username/password to someone that is not you, you are creating a new risk. This decision should be weighed very carefully. Please keep our Terms of Service in mind when you are configuring your Redis checks. It is best practice when you are creating a user for redis monitoring that you have a separate user for monitoring that is restricted to only the INFO command as discussed in the Redis documentation.

Using Redis Checks

To set up a Redis check,

  1. Select Redis from the Check type drop down.
  2. Give it a friendly label to identify this check in lists and notifications.
  3. Enable Automated Diagnostics if you'd like detailed technical info about the failure that may help you troubleshoot.
  4. Set how often you want the check to run on the Check Frequency field. Sub-minute intervals may have additional costs.
  5. Set the URL of the Redis service. username and password may be set in the Redis URL. For example:
    redis://myuser:mypass@redishost.example.com:6379/0
    The port in the above URL is 6379 and the database is 0. For TLS-enabled services the URL should start with 'rediss://' (note the second 's')
  6. Chose the Redis service type from the dropdown. The default is 'Standalone'.
  7. Add at least one host's information in the Hosts area if you've set the Redis type to either 'Sentinel' or 'Cluster'.
  8. Set the Sentinel name if 'Sentinel' redis type was chosen. This is the 'master-name' in your sentinel configuration file.
  9. Set a time out. The default 5 seconds works fine for most situations.
  10. Set the Sensitivity. High is usually appropriate.
  11. Set the notifications for this check. More information about notifications.

Common usage:
To monitor availability of Redis services.

Other considerations

IPv6 URLs require the bracket formatting such as rediss://[2606:c700:4020:11::53:4a3b]/0

Redis sentinel or cluster monitoring requires information for at least one host. For sentinel monitoring, the "master-name" configuration must also be specified.

SSLv3/TLS1.0 are not supported.

If you have any questions, get in touch at support@nodeping.com, or use our Contact form.