monitor_get
Read live-status data from a FortiGate device by calling any monitor endpoint path, with optional query parameters and VDOM selection.
Instructions
Read any live-status endpoint (GET /api/v2/monitor/{path}).
Examples: "system/status", "router/ipv4", "vpn/ipsec", "license/status", "system/interface", "firewall/policy/select", "switch-controller/managed-switch", "wifi/client". Optional query parameters are passed through as params.
Parameters:
device_id: Identifier of the FortiGate device
path: monitor path without the /api/v2/monitor/ prefix
params: Optional query parameters as JSON object
vdom: Virtual Domain name (optional)
Returns:
The raw JSON response (secret fields redacted, large output truncated)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | monitor path, e.g. system/status | |
| vdom | No | Virtual Domain | |
| params | No | Query parameters | |
| device_id | Yes | FortiGate device identifier |