zscaler/zscaler-mcp-server/investigate-alerts
Claude Code and agent skill by zscaler/zscaler-mcp-server
- community
Checking that the SKILL.md file is still in the repository.
Investigate active and historical ZDX alerts to understand their scope, root cause, and impact. Drills into affected devices, correlates with application metrics, and identifies patterns across time. Aligned with ZDX Copilot troubleshooting use cases. Use when an administrator asks: 'Show me ongoing alerts', 'What incidents happened in the last 48 hours?', 'How many users are affected by this alert?', or 'Is there an ISP issue?'
Install
npx vskill@latest install zscaler/zscaler-mcp-server/investigate-alertsSKILL.md
ZDX: Investigate Alerts
Keywords
alerts, incidents, zdx alerts, active alerts, historical alerts, affected devices, alert investigation, ongoing alert, ISP issue, blackout, degradation, alert scope, impacted users, alert history
Overview
Investigate active and historical ZDX alerts to determine their scope, affected users, root cause, and whether they represent isolated incidents or broader patterns. This skill provides a systematic approach to alert triage and investigation.
Use this skill when: An administrator wants to review current or past alerts, understand alert impact, investigate ISP or network incidents, or determine if a reported issue correlates with a known alert.
ZDX Copilot alignment: This skill covers the Troubleshooting category -- "Show me the number of ongoing alerts", "Show me the Incidents in the last 48 hours", "What can I do when I see a blackout incident with an ISP?"
Data Presentation Requirements
All tables are rendered by the HTML template, not by hand. Do not author <table>, <thead>, <tbody>, <tr>, <th>, or <td> markup in your reply or in the report. You produce a JSON payload (see Data Payload Contract) and the template at ./templates/report.html.template turns it into the styled, sortable, exportable tables shown in ./example/report.example.html.
After each table, provide:
- Detailed analysis explaining the alert severity, scope, and correlation between alerts
- Root cause identification based on metric correlation and affected scope
- Next steps / resolution with specific remediation actions, escalation paths, and monitoring recommendations
Use color-coded rows by alert priority:
- Red: High priority alerts (many affected devices, critical applications, long duration)
- Yellow: Medium priority alerts (moderate impact, localized scope)
- Green: Low priority or resolved alerts
⚠ HTML OUTPUT — READ THIS BEFORE PRODUCING ANY HTML
There is exactly one acceptable way to produce the HTML output:
- Read the template from disk — do NOT inline a copy in your response. The template lives next to this SKILL.md inside the skill's package, at:
``text ./templates/report.html.template ``
The ./ prefix is intentional: this path is relative to the skill folder (the directory containing this SKILL.md), never an absolute path. Most agents that load skills from an uploaded .zip extract the package into a working directory and expose its contents via that relative path — read the file by joining the skill's own root directory with ./templates/report.html.template. Do not rewrite this to an absolute path that points at the author's machine.
- Build a single JSON object (
__ZDX_DATA__payload) shaped exactly as documented in the Data Payload Contract section below. Aggregate the responses from the ZDX MCP tool calls (Steps 1–6 of the Workflow) into that object.
- Replace the literal token
__ZDX_DATA__(which appears once, inside<script type="application/json" id="zdx-data">__ZDX_DATA__</script>) with the JSON object. Do not edit any other part of the template.
- Write the result to disk as
alert_investigation_report_<YYYYMMDD-HHMMSS>.htmlnext to the .docx, and give the user acomputer://link to it.
This template already provides: Zscaler header with logo · sticky top bar · scope summary bar · KPI cards with severity-coded top borders · per-table search + filter chips · sortable color-coded tables · per-table CSV export · light/dark theme toggle · top-right language dropdown (EN / ES / PT / FR / JA) · printable PDF view · localStorage prefs · Analysis / Root Cause / Remediation block.
If you find yourself writing `<html>`, `<style>`, or `<table>` in a code-block destined for the user, stop. Read the template instead.
A populated reference rendering ships with this skill at ./example/report.example.html (relative to the skill folder). Open it in a browser to preview the exact layout and depth expected.
Data Payload Contract
The full __ZDX_DATA__ payload is one JSON object. Every field below is required unless marked optional. This skill emits two tables: the active alert summary and the per-alert metric correlation.
Map each row's severity from priority: High → critical, Medium → warning, Low → good.
Output Artifacts — MANDATORY
You MUST generate BOTH files below. Both are REQUIRED output for every alert investigation.
1. Word Document (.docx) — REQUIRED
Write a Word document to disk named alert_investigation_report_<YYYYMMDD-HHMMSS>.docx containing:
- Executive summary with active alert count, severity breakdown, and scope
- Active alerts table (priority, alert name, application, duration, affected devices, locations, bottleneck)
- Metric correlation per alert (PFT, DNS, availability, root cause indicator)
- Historical pattern analysis (recurring alerts, frequency, time patterns)
- Per-alert root cause analysis with supporting evidence
- Prioritized remediation actions and escalation paths
2. Interactive HTML Web Page (.html) — REQUIRED
Generated by the template-substitution flow described in the HTML OUTPUT section above. Filename: alert_investigation_report_<YYYYMMDD-HHMMSS>.html. Do not hand-author HTML or CSS — the template ships everything the report needs.
Workflow
Step 1: List Active Alerts
Retrieve all currently active alerts.
For a broader time window (e.g., last 48 hours):
Filter by location or department for scoped investigation:
Triage by severity and scope:
- How many alerts are active?
- Which applications are affected?
- How long have they been active?
- Are multiple alerts pointing to the same root cause?
Step 2: Get Alert Details
For each alert that warrants investigation:
Key information to extract:
- Alert type (performance degradation, availability, etc.)
- Triggered application and threshold
- Impacted departments and locations
- Geolocation data
- Alert trigger conditions
- Start time and duration
Step 3: Determine Impact Scope
List all devices affected by the alert:
Filter by location to understand geographic scope:
Filter by department for business impact:
Scope determination:
- Single user: Likely a device or local network issue
- Single location: Office-specific issue (local ISP, WiFi, LAN)
- Multiple locations, same geo: Regional ISP or cloud region issue
- Global: Application server issue or major ISP backbone problem
Step 4: Correlate with Application Metrics
Cross-reference the alert with application performance data to confirm the bottleneck.
Correlation mapping:
- Alert + high PFT + normal DNS → Application or CDN issue
- Alert + high DNS → DNS infrastructure problem
- Alert + low availability → Network or application unreachable
- Alert + all metrics degraded → Major infrastructure event
Step 5: Check Historical Patterns
Look for recurring patterns in past alerts.
Filter by location or department:
Pattern analysis:
- Same alert recurring daily at specific times? → Scheduled load or maintenance window
- Same alert recurring weekly? → Periodic resource constraints
- Same location repeatedly affected? → Infrastructure issue at that site
- Same application repeatedly affected? → Application stability concerns
Step 6: Deep Trace for Network Path Analysis
If the alert suggests a network issue, check if deep traces exist for affected devices.
For a specific affected device:
If a trace exists, analyze the full diagnostics data:
If no trace exists and the alert is recurring, discover probe IDs and start a proactive deep trace to capture evidence during the next occurrence (requires write tools):
Deep traces reveal hop-by-hop latency and packet loss, pinpointing the exact network segment causing the issue. Web probe metrics isolate DNS vs TCP vs SSL bottlenecks, and event timelines correlate configuration changes with metric degradation.
For comprehensive deep trace analysis, see the Diagnose Deep Trace skill.
Step 7: Present Alert Investigation Report
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/zdx/investigate-alerts/SKILL.md
Popularity
- Repository stars
- 39
- Repository forks
- 18
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/zscaler/zscaler-mcp-server/investigate-alerts)