monitor_action
Trigger monitor actions on FortiOS via POST requests to any monitor endpoint, enabling operations like session closure, tunnel teardown, or config backup.
Instructions
Trigger a monitor action (POST) on any monitor endpoint.
Covers any POST on /api/v2/monitor/{monitor_path}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| monitor_path | Yes | Monitor action path. Examples: 'firewall/session/close_all', 'vpn/ipsec/tunnel_down', 'system/config/backup', 'wifi/managed_ap/restart' | |
| body | No | Optional JSON string with action parameters. Example: '{"mkey": "tunnel-name"}' | |
| vdom | No | Target VDOM name. Defaults to the server default VDOM. Use '*' for all VDOMs (super-admin required). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||