health_check
Resolves a device, reviews CPU, memory, and disk metrics, open alerts, and 30-day availability to assess overall device health.
Instructions
Composite health check: resolves a device, picks up to five of its datasources whose names mention CPU, memory or disk (drive, volume, filesystem), reads the first instance of each through analyze_metric (summary and anomalies over 24 hours), checks open alerts, and calculates 30-day availability. A device with none of those datasources gets an empty metrics list and a warning.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "health_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | No | Device ID | |
| device_name | No | Device display name (used if device_id not provided) | |
| detail_level | No | Output detail level (default: summary) | summary |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| portal | No | The portal the call ran against, in multi-portal mode. | |
| metrics | No | Full: the first instance of each CPU, memory or disk datasource read. | |
| warnings | No | ||
| device_id | Yes | ||
| device_name | Yes | ||
| availability | Yes | calculate_availability, 30 days. | |
| detail_level | Yes | ||
| active_alerts | Yes | get_alerts, open, for the device. | |
| datasource_count | Yes | Datasources the device carries. |