get_guest_metrics
Retrieve CPU, memory, network, and disk I/O metrics for a specified VM or container over a chosen timeframe (hour, day, week, month, year) to assess resource usage and performance trends.
Instructions
Get resource usage metrics (CPU, memory, network, disk I/O) for a VM or container.
Args: vmid: The numeric ID of the VM or container. timeframe: Time range for metrics. Options: 'hour', 'day', 'week', 'month', 'year'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vmid | Yes | ||
| timeframe | No | hour |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |