get_device_stats
Retrieve performance and traffic stats for a UniFi device: CPU, memory, temperature, fan, client counts, traffic totals, and AP radio stats. Use when you need current device health metrics.
Instructions
Get performance and traffic statistics for one UniFi device.
Read-only operation: returns CPU/memory load, temperatures, fan level, client counts (user/guest), traffic totals, and AP radio stats where applicable. Use get_device_details for the full config record instead of metrics, or list_devices for a lightweight summary.
Args: mac: Device MAC address (case-insensitive; aa:bb:cc:dd:ee:ff or aabbccddeeff). site: Site to operate on. Defaults to "default". device: Optional device name to target a specific console; omit for default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mac | Yes | Device MAC address (case-insensitive; aa:bb:cc:dd:ee:ff or aabbccddeeff). | |
| site | No | Site to operate on. Defaults to "default". | default |
| device | No | Optional device name to target a specific console; omit for default. |