Monitorar MikroTik RouterOS com o DumbMonit
RouterOS and RouterBOOT versions behind, CPU, memory, temperatures, fans and power supplies, and errors and link losses on every interface.
DocumentaçãoSite oficial: MikroTik
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
Routers and switches running RouterOS 7: whether RouterOS and the RouterBOOT firmware have fallen behind, CPU, memory and storage, temperatures, fans and power supplies, and the state, traffic, errors and link losses of every interface. DumbMonit reads the REST API that RouterOS 7 serves under /rest, with a user in a group that can only read. It sends GET requests and nothing else.
Uso típico. Router or switch: versions and firmware behind, CPU, memory, sensors, interface errors
Exemplos
- hAP
- RB5009
- CCR
- CRS switch
- Cloud Hosted Router
Como se conecta
O que você precisa
- Read-only userThe dumbmonit user created above, in the dumbmonit-read group. Sent as HTTP basic authentication.
Portas de rede a abrir
443/TCPREST API (HTTPS, default)80/TCPOnly with the HTTP protocol option
Etapas de configuração: Create a read-only user on the router
WinBox or WebFig → System → Users → Groups → Add: name the group as follows and tick only the policies listed below.
dumbmonit-readSystem → Users → Add: create the user dumbmonit in that group, with a long random password.
dumbmonitIP → Services: enable www-ssl and pick a certificate (create one under System → Certificates).
Optional, to hear about new RouterOS versions: System → Scheduler → Add, interval 1d, start time startup, with this On Event script.
/system package update check-for-updates onceIn DumbMonit, enter the router's address (192.168.88.1) with that user name and password.
Atenção. RouterOS 7.1 or later is required (RouterOS 6 has no REST API); with a self-signed certificate, tick "Accept an unverifiable certificate" in the options.