vm_agent_get_info
Retrieve system information from a Proxmox VM via the guest agent, including OS, hostname, time, timezone, users, vCPUs, filesystems, memory, and network interfaces.
Instructions
Get various system information from a VM via the guest agent.
Args: node: The node name. vmid: The VM ID. info_type: Info to retrieve: 'get-osinfo', 'get-host-name', 'get-time', 'get-timezone', 'get-users', 'get-vcpus', 'get-fsinfo', 'get-memory-blocks', 'get-memory-block-info', 'info', 'network-get-interfaces'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | ||
| vmid | Yes | ||
| info_type | No | get-osinfo |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |