Active

AI Generated

Multi-Service Correlation

Correlate alerts before remediation


Description

Multiple correlated alerts arrive across services. The workflow correlates them, identifies root cause when possible, and routes to targeted remediation or AI-assisted triage when not.

Why it matters

  • Correlated alerts across services surface root cause before running the wrong fix on a symptom.
  • Targeted remediation when cause is known; AI fallback when it is not — one workflow, two strategies.
  • Reduces alert storms that trigger duplicate remediation on every firing host.

AO building blocks

Automation orchestrator step types this workflow uses on the canvas. See all building blocks

Interactive Experience

Coming soon

Planned scope

  • Multi-alert correlation across services
  • Root-cause-first remediation when identified
  • Fallback to AI triage agent
  • Validation and operator notification

Workflow

flowchart LR
  A@{ img: "https://ansible-tmm.github.io/aap-orchestrator-demos/assets/icons/manual-trigger.png", label: "Alert Payload", pos: "b", h: 96, constraint: "on" } --> B@{ img: "https://ansible-tmm.github.io/aap-orchestrator-demos/assets/icons/launch-aap-job-template.png", label: "Correlate Alerts", pos: "b", h: 96, constraint: "on" }
  B --> C@{ img: "https://ansible-tmm.github.io/aap-orchestrator-demos/assets/icons/switch-node.png", label: "Root Cause?", pos: "b", h: 96, constraint: "on" }
  C -->|Yes| D@{ img: "https://ansible-tmm.github.io/aap-orchestrator-demos/assets/icons/launch-aap-job-template.png", label: "Targeted Remediation", pos: "b", h: 96, constraint: "on" }
  C -->|No| E@{ img: "https://ansible-tmm.github.io/aap-orchestrator-demos/assets/icons/task-agent.png", label: "AI Triage Agent", pos: "b", h: 96, constraint: "on" }
  D --> F@{ img: "https://ansible-tmm.github.io/aap-orchestrator-demos/assets/icons/launch-aap-job-template.png", label: "Validate Recovery", pos: "b", h: 96, constraint: "on" }
  E --> F
  F --> G@{ img: "https://ansible-tmm.github.io/aap-orchestrator-demos/assets/icons/launch-aap-job-template.png", label: "Notify Operators", pos: "b", h: 96, constraint: "on" }
  classDef noBorder fill:transparent,stroke:transparent
  class A,B,C,D,E,F,G noBorder

Playbooks

Playbook What it does Runs on
correlate_alerts.yml Analyzes alert payloads for host and service correlation patterns, publishes correlation_result artifact. localhost
targeted_remediation.yml Restarts affected services for known root cause with service-specific recovery. RHEL node
validate_recovery.yml Validates all correlated services have recovered with retry loop. RHEL node
notify_operators.yml Posts correlation analysis and remediation results to Mattermost. localhost (Mattermost API)

AI Generated

This demo's playbooks and workflow were generated by AI to illustrate the pattern. They have not been fully tested in a live environment. Review and adapt before using in production.