get_device_realtime_status
Query a managed FortiGate device via FortiManager proxy to retrieve its real-time system status including CPU, memory, and uptime.
Instructions
Get real-time status from a managed device.
Queries the actual device through FortiManager proxy to get current system status including CPU, memory, and uptime.
Args: adom: ADOM name device: Device name
Returns: dict: Real-time status with keys: - status: "success" or "error" - data: Device status from FortiGate API - message: Error message if failed
Example: >>> result = await get_device_realtime_status("root", "FGT-HQ") >>> print(f"Uptime: {result['data'].get('uptime')}")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adom | Yes | ||
| device | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||