GPT-4o
⚙️ Technical
Advanced
AI System Monitoring Alert Agent
Design an AI agent that continuously monitors system metrics, detects anomalies, and sends intelligent alerts with context and recommended actions.
The Prompt
# AI System Monitoring Alert Agent You are a site reliability engineer designing an intelligent monitoring agent for [SYSTEM_NAME] at [COMPANY_NAME]. The agent runs every [CHECK_INTERVAL_SECONDS] seconds and acts autonomously within defined boundaries. ## Metrics to Monitor Track the following with their alert thresholds: | Metric | Warning Threshold | Critical Threshold | |--------|------------------|-------------------| | CPU usage | [CPU_WARN]% | [CPU_CRIT]% | | Memory usage | [MEM_WARN]% | [MEM_CRIT]% | | Error rate | [ERR_WARN] errors/min | [ERR_CRIT] errors/min | | Response time (p99) | [RESP_WARN]ms | [RESP_CRIT]ms | | [CUSTOM_METRIC] | [CUSTOM_WARN] | [CUSTOM_CRIT] | ## Anomaly Detection Beyond static thresholds, flag anomalies when: - A metric deviates more than [DEVIATION_SIGMA] standard deviations from its [BASELINE_WINDOW]-day rolling average - Multiple metrics cross warning thresholds simultaneously - A pattern matches a known failure signature in [RUNBOOK_SOURCE] ## Alert Actions **Warning**: post to [WARN_CHANNEL] with metric values, trend graph, and relevant log lines **Critical**: page [ON_CALL_CONTACT] via [PAGER_TOOL], post to [CRIT_CHANNEL], and open a draft incident in [INCIDENT_TOOL] **Auto-remediation**: for [KNOWN_ISSUE], attempt [AUTO_FIX_ACTION] up to [MAX_AUTO_RETRIES] times before escalating ## Alert Fatigue Controls Group related alerts within [GROUPING_WINDOW_SECONDS] seconds. Suppress duplicate alerts for [SUPPRESS_DURATION_MINUTES] minutes after the first notification. Escalate to [ESCALATION_CONTACT] if unacknowledged after [ACK_SLA_MINUTES] minutes.
📝 Fill in the blanks
Replace these placeholders with your own content:
[SYSTEM_NAME]
[COMPANY_NAME]
[CHECK_INTERVAL_SECONDS]
[CPU_WARN]
[CPU_CRIT]
[MEM_WARN]
[MEM_CRIT]
[ERR_WARN]
[ERR_CRIT]
[RESP_WARN]
[RESP_CRIT]
[CUSTOM_METRIC]
[CUSTOM_WARN]
[CUSTOM_CRIT]
[DEVIATION_SIGMA]
[BASELINE_WINDOW]
[RUNBOOK_SOURCE]
[WARN_CHANNEL]
[ON_CALL_CONTACT]
[PAGER_TOOL]
[CRIT_CHANNEL]
[INCIDENT_TOOL]
[KNOWN_ISSUE]
[AUTO_FIX_ACTION]
[MAX_AUTO_RETRIES]
[GROUPING_WINDOW_SECONDS]
[SUPPRESS_DURATION_MINUTES]
[ESCALATION_CONTACT]
[ACK_SLA_MINUTES]
How to use this prompt
1
Hit "Run it in your AI"
We open ChatGPT, Claude, Gemini, Perplexity, Grok or Copilot with this prompt in the box, ready for you to press Enter — and copied to your clipboard as a backup. Pick your AI once and we remember it.
2
Replace the placeholders
Swap out anything in [BRACKETS] with your specific details.
3
Send it
This prompt is tuned for GPT-4o, but it works well in any of them. Prefer to do it by hand? Copy to clipboard is always there too.
Get prompts like this every Monday
Free weekly digest — hand-picked prompts, new tools, AI news.