getGatewayHealth
Diagnose internet connectivity, WAN failover, and gateway performance issues by auto-discovering the site gateway and retrieving CPU, memory, firmware, port, WAN, and LAN status in one call.
Instructions
Composite gateway health check — single call that auto-discovers the site gateway then retrieves its full detail (CPU, memory, firmware, ports), WAN port statuses (link state, IP, ISP), and LAN interface statuses. Use when diagnosing internet connectivity issues, WAN failover, or gateway performance problems. Optionally accepts a gatewayMac to skip discovery.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | No | Optional site ID. Uses default site if omitted. | |
| gatewayMac | No | Optional gateway MAC address. If omitted, the gateway is discovered automatically by listing site devices. |