Get metrics from Redis's Sentinel service in real time to:
- Visualize and monitor sentinels states
- Be notified about failovers
The Redis's Sentinel check is NOT included in the Datadog Agent package.
To install the Redis's Sentinel check on your host:
- Download the Datadog Agent.
- Download the
check.py
file for Redis's Sentinel. - Place it in the Agent's
checks.d
directory. - Rename it to
redis_sentinel.py
.
To configure the Redis's Sentinel check:
- Create a
redis_sentinel.d/
folder in theconf.d/
folder at the root of your Agent's directory. - Create a
conf.yaml
file in theredis_sentinel.d/
folder previously created. - Consult the sample redis_sentinel.yaml file and copy its content in the
conf.yaml
file. - Edit the
conf.yaml
file to point to your server and port, set the masters to monitor. - Restart the Agent.
Run the Agent's status
subcommand and look for redis_sentinel
under the Checks section.
See metadata.csv for a list of metrics provided by this check.
The Redis's Sentinel check does not include any events at this time.
redis.sentinel.master_is_down
The check returns:
OK
if the master is up.CRITICAL
if the master is down.
redis.sentinel.master_is_disconnected
The check returns:
OK
if the master is not disconnected.CRITICAL
if the master is disconnected.
redis.sentinel.slave_master_link_down
The check returns:
OK
if the master link status is ok.CRITICAL
if the master link status is not ok.
redis.sentinel.slave_is_disconnected
The check returns:
OK
if the slave is not disconnected.CRITICAL
if the slave is disconnected.
Need help? Contact Datadog Support.