Overview
Redis is a high-performance in-memory data structure store used as a database, cache, and message broker. Xitoring's Redis integration provides real-time monitoring of memory, CPU, throughput, and connection metrics — helping you ensure your Redis instances stay fast and reliable.
What Can It Monitor?
- Connected Clients — Number of active client connections
- Rejected Connections — Connections refused due to maxclients limit
- Reads per Second — Rate of read operations
- Writes per Second — Rate of write operations
- Used Memory — Total memory consumed by Redis
- Used CPU (User) — CPU time spent on user-space operations
- Total Keys — Total number of keys across all databases
- Hit Rate — Cache hit/miss ratio
- Evicted Keys — Keys removed due to memory pressure
- Blocked Clients — Clients waiting on blocking operations (BLPOP, etc.)
Prerequisites
- Redis installed and running on your server
- Xitogent agent installed
- Redis CLI password (if authentication is enabled)
No additional modules or configuration changes are required.
How to Activate the Integration
Run the Xitogent CLI:
xitogent integrate
Select Redis from the list of available integrations. When prompted, enter your Redis CLI password. If Redis has no password configured, simply leave it blank and press Enter.
Xitogent automatically connects to Redis on port 6379 and begins collecting statistics.
The config file is created at /etc/xitogent/integrations/redis_integration.conf:
password=myredispassword
Setting Up Triggers
Available trigger parameters:
- Connected Clients
- Rejected Connections
- Reads per Second / Writes per Second
- Used Memory
- Used CPU (User)
- Total Keys
Navigate to Triggers on your server page, select Redis, choose a metric, set your threshold, and configure notifications.
Tips
- Monitor Used Memory closely to prevent out-of-memory crashes
- Set alerts on Rejected Connections to detect when
maxclientsis too low - Watch Evicted Keys — a rising count means Redis is under memory pressure
- Track Hit Rate to ensure your cache is effective
- Works on Linux servers