ping_from_device
Ping a host from the FortiGate itself to verify reachability from the firewall’s perspective, including through VPN tunnels, and return packet and round-trip statistics.
Instructions
Ping a host from the FortiGate itself (monitor/network/diag-icmp-ping), useful to check reachability from the firewall's own perspective (e.g. through a VPN tunnel).
Parameters:
device_id: Identifier of the FortiGate device
target: IPv4 address or hostname to ping
source_interface: Optional source interface
vdom: Virtual Domain name (optional)
Returns:
Packets sent/received and round-trip statistics as reported by the device
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | Virtual Domain | |
| target | Yes | IPv4 address or hostname to ping | |
| device_id | Yes | FortiGate device identifier | |
| source_interface | No | Source interface |