Alerts

From wyre-technology/msp-claude-plugins · View interactive version

Alerts is an AI agent skill from the GitHub repository wyre-technology/msp-claude-plugins. SuperOps.ai RMM alerting: alert types, severity levels, status lifecycle and valid transitions, asset/client/monitor associations, the GraphQL operations for listing and resolving alerts, and the hand-offs for acknowledging them (console) and ticketing them (superops_tickets_create). Includes triage

How to use this skill

Skill file

SuperOps.ai Alert Management

Overview

SuperOps.ai RMM generates alerts when monitored conditions are triggered on managed assets. Alerts can indicate hardware issues, software problems, security events, or custom monitoring conditions. This skill covers alert listing, filtering, acknowledgment, resolution, and automated workflows.

Anti-triggers

superops-tickets; the conversion is described here but the ticket

lifecycle is not.

ninjaone-alerts, datto-rmm-alerts, and N-central active issues

(ncentral-monitoring-tasks) are separate stores with their own

severity scales.

huntress-incidents, sentinelone-alerts, or

rocketcyber-incidents.

superops-runbooks; resolving an alert does not fix a machine.

MCP Tools

| Tool | Tier | Purpose |

|------|------|---------|

| superops_assets_get | read | Context for the alerting asset |

| superops_custom_query | admin | List or read alerts (no typed alert tool exists) |

| superops_custom_mutation | admin | Acknowledge or resolve alerts (no typed alert tool exists) |

Anything without a typed tool goes through superops_custom_query (admin tier; send query documents only, since the tool does not stop a mutation) or superops_custom_mutation (arbitrary GraphQL mutation); both are admin tier and need human approval. The GraphQL examples in this skill show what those passthrough calls send.

Alert Severity Levels

| Severity | Description | Typical Response |

|----------|-------------|------------------|

| Critical | Immediate attention required | Respond within 15 minutes |

| High | Significant issue | Respond within 1 hour |

| Medium | Moderate concern | Respond within 4 hours |

| Low | Informational | Review during business hours |

Alert Status Values

| Status | Description |

|--------|-------------|

| Active | Alert triggered and unaddressed |

| Acknowledged | Alert seen, being worked |

| Resolved | Issue fixed, alert closed |

| Auto-Resolved | Condition cleared automatically |

Common Alert Types

| Type | Description | Examples |

|------|-------------|----------|

| Hardware | Physical component issues | Disk failure, high temperature |

| Performance | Resource utilization | High CPU, low memory, disk space |

| Security | Security events | Failed logins, malware detected |

| Service | Service state changes | Service stopped, process crashed |

| Patch | Update related | Critical patch pending |

| Connectivity | Network issues | Agent offline, connectivity lost |

| Custom | User-defined monitors | Custom script conditions |

Key Alert Fields

In the published SuperOps schema an Alert carries id, message,

description, severity, status, createdTime, resolvedTime,

occurrenceCount, and asset and policy. asset and policy are JSON

scalars: select them by name only, with no nested field selection.

See references/fields.md for the complete field reference.

GraphQL Operations

| Operation | Type | Purpose |

|-----------|------|---------|

| getAlertList | query | List/filter alerts across all assets (input: ListInfoInput!) |

| getAlertsForAsset | query | Alerts scoped to one asset (input: AssetDetailsListInput!) |

| resolveAlerts | mutation | input: [ResolveAlertInput], each { id }; returns Boolean |

The schema has no acknowledge mutation, no single-alert query and no

alert-to-ticket mutation. Acknowledge alerts in the SuperOps console, and create

tickets with superops_tickets_create. getAlertList takes

ListInfoInput (page, pageSize, condition, sort) and returns listInfo

(page, pageSize, hasMore, totalCount). Keep paging while hasMore is

true.

A filter is a condition. It is either a { attribute, operator, value } leaf or

a { joinOperator: "AND" | "OR", operands: [...] } branch. joinOperator must be

uppercase, because SuperOps treats any other spelling as OR without reporting

an error. The supported operators are is, isNot, contains, notContains,

startsWith, endsWith, includes and notIncludes. includes and

notIncludes take an array. No date-range operator is documented.

See references/api.md for the documents and variables.

Every example there validates against the schema.

Common Workflows

Alert Triage Workflow

  1. List alerts newest first with getAlertList through superops_custom_query.
  2. Acknowledge the alert being worked in the SuperOps console. The API has no

mutation for it.

  1. Call superops_tickets_create if the issue needs tracked service delivery.
  2. Once the issue is fixed, send resolveAlerts with input: [{ id: "<alert id>" }]

through superops_custom_mutation (admin tier). Never send it without a human

approver who has seen the exact mutation.

Alert Summary Dashboard

Use GraphQL aliases to fetch several getAlertList counts in one request. Each

count reads only listInfo { totalCount }.

Client Alert Report

An Alert has no client field. List the client's assets with

superops_assets_list (clientId), page through getAlertsForAsset for each

asset, and keep the alerts whose createdTime falls inside the reporting window.

See references/api.md for all three workflows.

Error Handling

Common Errors

| Error | Cause | Resolution |

|-------|-------|------------|

| Alert not found | Invalid alert ID | Verify alert exists |

| Already resolved | Alert already closed | Check current status |

| Permission denied | Insufficient access | Check user permissions |

| Asset offline | Cannot verify resolution | Note in resolution |

| Rate limit exceeded | Over 800 req/min | Implement backoff |

Status Transition Rules

// Valid alert status transitions
const validTransitions = {
  'Active': ['Acknowledged', 'Resolved'],
  'Acknowledged': ['Resolved', 'Active'],  // Can un-acknowledge
  'Resolved': ['Active'],  // Can reopen if issue returns
  'Auto-Resolved': ['Active']  // Can reopen
};

function canTransition(currentStatus, newStatus) {
  return validTransitions[currentStatus]?.includes(newStatus) || false;
}

Best Practices

  1. Acknowledge promptly - Show clients issues are being tracked
  2. Create tickets for complex issues - Link alert to ticket for tracking
  3. Document resolutions - Helps with recurring issues
  4. Use bulk operations - One resolveAlerts call with a list of { id } beats N calls
  5. Set up auto-resolution - Let transient issues clear themselves
  6. Monitor acknowledgment time - Track response SLAs
  7. Review alert patterns - Identify recurring problems

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.