/datto-rmm:alertsfrom datto-rmm
Handles Datto RMM alerts: structure, 25+ context types (antivirus_ctx, eventlog_ctx, perf_disk_usage_ctx, ransomware_ctx), priorities, resolution workflows, and context-specific triage guidance.
Ships in datto-rmm. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Alerts are the primary notification mechanism in Datto RMM. They're generated by monitors when conditions are met - disk space low, service stopped, CPU high, etc. Each alert contains context-specific data based on the monitor type. This skill covers alert handling, the 25+ context types, and resolution workflows.
ransomware_ctx and antivirus_ctx alerts are monitor output, not
analyst verdicts; use rocketcyber-incidents.datto-bcdr-api-patterns or
unitrends-api-patterns.kaseya-vsa-api-patterns.atera-alerts, ninjaone-alerts,
superops-alerts, or connectwise-automate-alerts.pagerduty-alerts or rootly-alerts.| Tool | Tier | Purpose |
|---|---|---|
datto_list_alerts / datto_get_alert | read | Open alerts and one alert's detail |
datto_resolve_alert | write | Resolve an alert |
Tiers are Conduit's classification. REST examples later in this skill show what the tools call underneath.
Every alert has:
@class discriminator| Priority | Value | Description | Typical Response |
|---|---|---|---|
| Critical | Critical | Severe impact, immediate action | 15 minutes |
| High | High | Significant issue | 1 hour |
| Moderate | Moderate | Notable but manageable | 4 hours |
| Low | Low | Minor issue | 8 hours |
| Information | Information | Informational only | Best effort |
| State | Description |
|---|---|
open | Active, requires attention |
resolved | Closed, issue addressed |
interface Alert {
// Identifiers
alertUid: string; // Unique alert ID
alertSourceInfo: AlertSource; // Source of the alert
// Device Info
deviceUid: string; // Device that generated alert
hostname: string; // Device hostname
// Classification
alertType: string; // "Monitor", "Device Offline", etc.
priority: AlertPriority; // Critical, High, Moderate, Low, Information
alertMessage: string; // Human-readable message
// Context (varies by @class)
alertContext: AlertContext; // Type-specific data
// Timestamps (Unix milliseconds)
timestamp: number; // When alert was raised
resolvedAt?: number; // When resolved (if resolved)
// Resolution
resolved: boolean;
resolvedBy?: string; // Who resolved it
resolution?: string; // Resolution notes
}
type AlertPriority = 'Critical' | 'High' | 'Moderate' | 'Low' | 'Information';
Datto RMM has 25+ alert context types, identified by the @class field in alertContext. Each type carries fields specific to that monitor.
@class | Monitor | Key Fields |
|---|---|---|
antivirus_ctx | Antivirus status/detection | avProduct, avStatus, threatName, threatPath |
comp_script_ctx | Component script execution | componentName, exitCode, stdout, stderr |
custom_snmp_ctx | SNMP monitoring | oid, value, threshold, comparison |
disk_health_ctx | ESXi disk health | diskName, status, smartStatus, temperature |
eventlog_ctx | Windows Event Log | logName, source, eventId, eventType, message |
fan_ctx | ESXi fan status | fanName, status, rpm |
fs_object_ctx | File/folder size | path, size, threshold, isDirectory |
online_offline_status_ctx | Device online/offline | status, lastSeen, offlineDuration |
patch_ctx | Windows patch status | patchCount, criticalCount, rebootRequired |
perf_disk_usage_ctx | Disk usage/space | drive, usagePercent, freeSpace, usedSpace |
perf_mon_ctx | Windows Performance Counter | counter, instance, value, threshold |
perf_resource_usage_ctx | CPU/Memory usage | resource, usagePercent, duration, processName |
ping_ctx | Network ping | host, latency, packetLoss, status |
process_resource_usage_ctx | Process resource usage | processName, pid, cpuUsage, memoryUsage |
process_status_ctx | Process running/stopped | processName, status, expectedStatus |
psu_ctx | ESXi power supply | psuName, status, wattage |
ransomware_ctx | Ransomware detection | detectionType, path, action, fileCount |
sec_management_ctx | Webroot/security management | product, status, threatCount, licenseExpiry |
srvc_resource_usage_ctx | Windows Service resource usage | serviceName, cpuUsage, memoryUsage |
srvc_status_ctx | Windows Service status | serviceName, status, expectedStatus, startType |
sw_action_ctx | Software install/remove | action, softwareName, version, publisher |
temperature_ctx | ESXi temperature | sensorName, temperature, threshold, status |
wmi_ctx | WMI query monitoring | query, namespace, property, value |
See references/alert-contexts.md for the complete field definitions and example alerts for each context type.
GET /api/v2/alerts/open
Authorization: Bearer {token}
GET /api/v2/site/{siteUid}/alerts/open
Authorization: Bearer {token}
GET /api/v2/device/{deviceUid}/alerts/open
Authorization: Bearer {token}
GET /api/v2/alerts/resolved?max=250
Authorization: Bearer {token}
GET /api/v2/alerts/open?since=1707991200000
Authorization: Bearer {token}
POST /api/v2/alert/{alertUid}/resolve
Authorization: Bearer {token}
Content-Type: application/json
{
"resolution": "Cleared disk space by removing temp files"
}
Note: Muting alerts (PUT to /alert/{alertUid}/mute) is deprecated. Use resolve instead.
async function triageAlerts(client) {
const alerts = await client.request('/api/v2/alerts/open');
const triaged = {
critical: [],
high: [],
moderate: [],
low: [],
information: []
};
alerts.alerts.forEach(alert => {
const bucket = alert.priority.toLowerCase();
if (triaged[bucket]) {
triaged[bucket].push(alert);
}
});
return triaged;
}
function getAlertRecommendation(alert) {
const ctx = alert.alertContext;
switch (ctx['@class']) {
case 'perf_disk_usage_ctx':
return {
severity: ctx.usagePercent >= 95 ? 'critical' : 'warning',
action: 'Clear disk space or expand volume',
steps: [
'Run Disk Cleanup utility',
'Clear temp files',
'Check for large log files',
'Consider expanding disk'
]
};
case 'srvc_status_ctx':
return {
severity: 'high',
action: `Start the ${ctx.displayName} service`,
steps: [
`Run: net start "${ctx.serviceName}"`,
'Check Event Log for failure reason',
'Verify service account credentials',
'Check dependencies'
]
};
case 'ransomware_ctx':
return {
severity: 'critical',
action: 'IMMEDIATE: Isolate device and investigate',
steps: [
'Disconnect from network immediately',
'Do NOT restart the device',
'Contact security team',
'Preserve evidence',
'Check for lateral movement'
]
};
case 'online_offline_status_ctx':
return {
severity: ctx.offlineDuration > 60 ? 'high' : 'moderate',
action: 'Verify device connectivity',
steps: [
'Ping device from network',
'Check physical connectivity',
'Verify no scheduled maintenance',
'Contact on-site user if available'
]
};
default:
return {
severity: 'moderate',
action: 'Review alert details',
steps: ['Investigate alert context', 'Check device status']
};
}
}
See references/examples.md for batch alert resolution and alert summary report examples.
| Error | Status | Cause | Resolution |
|---|---|---|---|
| Alert not found | 404 | Invalid alertUid | Verify alert exists |
| Already resolved | 400 | Alert already closed | Check alert state first |
| Permission denied | 403 | API restrictions | Check API permissions |
async function safeResolveAlert(client, alertUid, resolution) {
try {
await client.request(`/api/v2/alert/${alertUid}/resolve`, {
method: 'POST',
body: JSON.stringify({ resolution })
});
return { success: true };
} catch (error) {
if (error.status === 404) {
return { success: false, reason: 'Alert not found - may already be resolved' };
}
if (error.status === 400) {
return { success: false, reason: 'Alert already resolved' };
}
throw error;
}
}
| Context Type | Typical Priority | Notes |
|---|---|---|
ransomware_ctx | Critical | Always immediate action |
online_offline_status_ctx (server) | High | Business impact |
perf_disk_usage_ctx (>95%) | High | Data loss risk |
srvc_status_ctx (critical service) | High | Service impact |
antivirus_ctx (threat detected) | High | Security risk |
perf_resource_usage_ctx | Moderate | Performance impact |
patch_ctx (critical patches) | Moderate | Security debt |
eventlog_ctx | Varies | Based on event severity |
sw_action_ctx | Low | Informational |
What SKILL.md sets; muted values are Claude Code's defaults
When viewing, resolving, and managing monitoring alerts. Use when: datto alert, rmm alert, device alert, alert resolution, monitoring alert, alert context, resolve alert, open alerts, alert priority, antivirus alert, disk alert, or service alert.
Three short reads, in order
npx claudepluginhub wyre-ai/msp-claude-plugins --plugin datto-rmm7 skills in this plugin
/api-patternsDatto RMM API PatternsDatto RMM REST API v2 fundamentals: OAuth 2.0 client-credentials-style authentication, the 6 regional platforms (Pinotage, Merlot, Concord, Vidal, Zinfandel, Syrah), token lifecycle, cursor-based pagination, rate limiting, Unix-millisecond timestamps, and error handling.
/auditDatto RMM AuditDatto RMM audit data structure covering hardware inventory (CPU, RAM, disks, motherboard, BIOS), software inventory, network interfaces, and ESXi/printer audits, along with audit collection cadence and data freshness semantics.
/devicesDatto RMM DevicesDatto RMM device management: identifiers (UID, hostname, MAC), device types and statuses, user-defined fields (UDF1-30), warranty data, and device lookup/update/delete operations.
/jobsDatto RMM JobsDatto RMM job execution: quick jobs vs. scheduled vs. policy jobs, the job status lifecycle, component scripts and their variables, and stdout/stderr/exit-code result handling.
/sitesDatto RMM SitesDatto RMM site management: site hierarchy and identifiers, proxy and patch-window settings, site-scoped device/alert queries, and create/update/delete operations for client locations.
/variablesDatto RMM VariablesDatto RMM account-level and site-level variables: scoping and inheritance (site overrides account), naming conventions and reserved prefixes, CRUD operations, and referencing variables from component scripts.
Other plugins' skills for the same job