Redis Monitor
The Redis monitor in updu actively hooks into the RESP (REdis Serialization Protocol). It authenticates
and runs a PING command against the server to ensure the in-memory data structure store is
responsive and actively processing network commands.
Configuration Options
When setting up a Redis monitor, you can configure the following options:
Basic Settings
- Name: A descriptive name for your monitor.
- Group: Optional group assignment for organizing monitors.
- Interval (seconds): How frequently updu should perform the check.
- Timeout (seconds): The maximum time updu will wait for an authenticated connection before considering the check failed.
Redis Specific Settings
- Hostname: The IP address or domain name of your Redis instance (e.g.,
cache.example.com). - Port: The port your Redis instance is running on natively (Standard is
6379). - Auth Password: (Optional) Provide the password token here if your database requires
the
AUTHcommand to accept connections. - Database Index: (Optional) The database integer index updu will attempt to run the
SELECTcommand against to ensure availability. Defaults to `0`.
Example Use Cases
- Background Job Queues: Alert if the backend queue caching server storing all in-flight Celery/Sidekiq jobs goes offline, preventing application hang bugs.