Request icon
Switch icon
SlackIncomingWebhook icon
Log icon
Schedule icon

Manticore Search Table Status and RAM Chunk Sentinel

Monitor Manticore Search cluster status and table RAM chunks, evaluate thresholds using Pebble, and dispatch incident alerts to Slack with Kestra.

Categories
Infrastructure

Automated health gate and storage sentinel for Manticore Search database clusters. This workflow continuously probes cluster status, validates table RAM chunk health using SQL inspection, classifies cluster state using declarative Pebble expressions, and routes incident alerts to Slack.

How it works

  1. Scheduled trigger initiates the sentinel check hourly (or on demand with custom parameters).
  2. Probes the Manticore /status HTTP endpoint to verify server availability, active connections, and query runtime.
  3. Issues a SHOW TABLE STATUS query to the Manticore SQL endpoint to inspect table chunk states and memory allocation.
  4. Evaluates cluster responses and HTTP codes using a declarative Pebble expression inside a Switch task.
  5. Dispatches formatted Slack alerts on critical node failures or degraded query responses, or logs an operational confirmation when metrics remain nominal.
  6. Emits an immutable audit log entry capturing execution codes, cluster status, and state classifications.

What you get

  • Early warning of Manticore daemon crashes or network unresponsiveness.
  • Automated detection of degraded table states or memory pressure in realtime index chunks.
  • Instant Slack alerts directed to platform engineers with exact status codes.
  • Centralized execution audit trail in Kestra for infrastructure SLA tracking.

Who it's for

  • Platform Engineers managing Manticore Search or Sphinx clusters.
  • Site Reliability Engineers (SREs) monitoring low-latency search and log indexing workloads.
  • DevOps Teams operating containerized search databases in production.

Why orchestrate this with Kestra

  • Declarative YAML eliminates brittle custom cron scripts and manual health polling.
  • Native Pebble expression engine provides deterministic classification without extra dependencies.
  • Secure credential management handles webhook URLs through encrypted secret storage.
  • Comprehensive UI observability visualizes execution runtimes, error outputs, and historical runs.

Prerequisites

  • Accessible Manticore Search server instance (local Docker container or VM).
  • Manticore HTTP REST interface enabled on port 9308.
  • Slack Incoming Webhook URL configured with write permissions for your alerts channel.

Secrets

  • SLACK_WEBHOOK_URL: HTTPS endpoint for posting notifications to the operations Slack channel.

Quick start

  1. Configure SLACK_WEBHOOK_URL in your Kestra namespace secrets.
  2. Import this blueprint into Kestra and click Execute with default parameters to verify connectivity.
  3. Inspect task execution logs to confirm that /status returned HTTP 200 and table status evaluated cleanly.
  4. Activate the hourly_sentinel_schedule trigger for continuous automated monitoring.

How to extend

  • Add automated PagerDuty or Opsgenie webhook tasks for off-hours critical downtime alerts.
  • Introduce an automated OPTIMIZE TABLE task when disk chunk fragmentation exceeds thresholds.
  • Expand SQL checks to verify specific table document counts against external transactional databases.

Links

See How

New to Kestra?

Use blueprints to kickstart your first workflows.