Skip to content

Key-Value DB (KVDB) Sensor

Overview

Subscription

This sensor is only available with Entreprise subscriptions

The Key-Value DB (KVDB) Sensor in Onagre allows users to monitor the availability of a Redis database and validate key-value pairs. This sensor ensures that a Redis instance is accessible and that specific keys contain expected values.

Configuration Options

When setting up a KVDB Sensor, the following parameters can be configured:

  • Database Type: Currently supports Redis.
  • Key Name: The key to be monitored within the database.
  • Key Type: Specifies the expected type of the key (String, Set, Sorted Set, List, Hash).
  • Validation Condition (optional): Defines how the key’s value should be evaluated (e.g., equals a value, contains an item, matches a pattern).
  • Check Interval: Defines how often the database should be checked (e.g., every minute, every five minutes).

Response Validation

The KVDB Sensor validates responses based on:

  • Database Connectivity: Ensures that the Redis instance is reachable.
  • Key Presence: Confirms that the specified key exists in the database.
  • Value Validation: Compares the stored value against the expected condition (if configured).

Alerts and Notifications

If the sensor detects an issue, such as connection failure, missing keys, or unexpected values, it can trigger alerts via:

  • Slack, Microsoft Teams, Discord, Google Chat, Webhooks, Pushover
  • Email Notifications
  • Onagre’s Dashboard for Incident Tracking

Use Cases

  • Ensuring a Redis database remains accessible.
  • Monitoring critical key-value pairs for expected values.
  • Detecting missing or unexpected key changes in Redis.
  • Validating the health of caching mechanisms or session storage.

Deployment

The KVDB Sensor operates within Onagre’s private agent framework, allowing checks to be performed securely within internal network environments where Redis instances are hosted.

Summary

The KVDB Sensor provides real-time monitoring of Redis database availability and key-value validation. By integrating with alerting tools, it helps teams detect database issues early and maintain data integrity.