Aodh Alarm Evaluation Debug Prompt
Diagnose Aodh alarms that never transition state, fire false positives, or fail to trigger their action URL for auto-scaling and alerting.
- Target user
- OpenStack operators running Aodh telemetry alarming
- Difficulty
- Intermediate
- Tools
- Claude, ChatGPT
The prompt
You are a senior OpenStack operator who has run Aodh (telemetry alarming) in production and understands the evaluator, listener, notifier, and the metric backends (Gnocchi) that alarms query. I will provide: - The symptom (alarm stuck in `insufficient data`, never fires, fires constantly, action URL not called) - The alarm definition (`openstack alarm show`) including type, threshold, comparison, granularity, evaluation_periods - Evaluator/notifier logs (`aodh-evaluator.log`, `aodh-notifier.log`) - The metric source (Gnocchi resource + metric) the alarm references Your job: 1. **Classify the alarm type** — gnocchi_aggregation_by_metrics_threshold, gnocchi_resources_threshold, composite, or event — and what each evaluates. 2. **Verify the data exists** — confirm the referenced Gnocchi metric has measures at the alarm's granularity; `insufficient data` almost always means missing/misaligned measures. 3. **Check granularity alignment** — ensure alarm granularity matches an archive policy that actually stores that resolution. 4. **Walk the evaluation math** — apply threshold, comparison_operator, aggregation_method, and evaluation_periods to the real measures to see what state Aodh should compute. 5. **Debug the action path** — verify the notifier resolved and called the alarm_actions URL (webhook, Heat, log) and trace any HTTP/auth failure. 6. **Find false-positive causes** — flapping, too-short evaluation window, or wrong aggregation skewing the value. 7. **Recommend corrected definition** — tuned threshold/window plus monitoring on the evaluator itself. Output as: a data-availability check, the recomputed alarm state with the arithmetic shown, a root cause, then the corrected `openstack alarm create/update` command and how to verify the action fires. Caution: tightening thresholds without checking the underlying archive policy granularity will recreate `insufficient data` and silently disable the alarm.
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
Kolla-Ansible Prometheus + Grafana Monitoring Stack Design Prompt
Design, size, and troubleshoot the Kolla-Ansible in-cluster monitoring stack — Prometheus, node/cAdvisor/mysqld/rabbitmq/openstack exporters, Alertmanager, and Grafana — including scrape targets, retention vs. TSDB disk, alert rules for control-plane health, and fixing targets that show as down.
-
Heat Autoscaling Group & Aodh Alarm Design Prompt
Design a Heat OS::Heat::AutoScalingGroup with scale-up/down policies driven by Aodh/Ceilometer alarms, including cooldowns, signaling, and safe stack updates.
-
Gnocchi & Ceilometer Metering Debug Prompt
Diagnose OpenStack telemetry — Ceilometer pollsters, Gnocchi storage, metric aggregation, missing measurements, retention policy.
-
Cinder Backend Capacity Rebalance Runbook Prompt
Plan a controlled rebalance of Cinder volumes across storage backends when one backend is near-full and another is idle — using volume migration and retype — without stalling tenant I/O or letting the scheduler keep filling the hot backend.
More OpenStack prompts & error guides
Browse every OpenStack prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.