Monitorar UniFi Network com o DumbMonit
The UniFi network and what it manages: gateways, switches and access points offline or waiting for adoption, firmware updates, WAN and Internet status, clients and alarms, and the last connection of the clients you mark as worth watching.
DocumentaçãoSite oficial: UniFi Network
As descrições estão em inglês, como no produto. Os rótulos da página seguem o seu idioma.
O que o DumbMonit vigia
The UniFi network and what it manages: gateways, switches and access points that are offline, isolated or waiting for adoption, firmware updates waiting, the WAN links and the Internet connection as the gateway sees them, the number of clients, and the alarms UniFi raised. It works with the UniFi Network application of a UniFi OS console (Dream Machine, Cloud Gateway, Cloud Key) and with a self-hosted UniFi Network Server. DumbMonit reads UniFi with an API key or with a local account holding the View Only role. It never restarts, adopts, upgrades or provisions a device.
Uso típico. UniFi console or self-hosted server: devices, WAN, clients
Exemplos
- UniFi OS console (Dream Machine, Cloud Gateway, Cloud Key)
- UniFi Network Server (self-hosted)
Como se conecta
O que você precisa
- API key (UniFi OS console)Reads devices, their load and the client count through the official Integration API. Created in Settings → Control Plane → Integrations.
- View Only accountA local account with the View Only role. Also reads the WAN, Internet and alarm status, and works on a self-hosted server.
Portas de rede a abrir
443/TCPAPI (HTTPS, default)8443/TCPOnly with a self-hosted UniFi Network Server
Etapas de configuração: Create a read-only access in UniFi Network
For an API key on a UniFi OS console: UniFi Network → Settings → Control Plane → Integrations → Create API Key. Name it DumbMonit and copy it: it is shown once.
Or create a local account (needed for WAN and alarm status, and on a self-hosted server): Settings → Admins & Users → Create New, local access only.
dumbmonitSet that account's UniFi Network role to View Only.
In DumbMonit, enter the address (unifi.lan, or unifi.lan:8443 for a self-hosted server) and paste the key or the account.
If the network is not the default site, set the Site option to the short name shown after /manage/ or /network/ in the address bar.
Atenção. Use a local account, never the owner or a UI.com cloud account, and accept the console's self-signed certificate in the options unless you installed your own.