Monitorare MikroTik RouterOS con DumbMonit
RouterOS and RouterBOOT versions behind, CPU, memory, temperatures, fans and power supplies, and errors and link losses on every interface.
DocumentazioneSito ufficiale: MikroTik
Le descrizioni sono in inglese, come nel prodotto. Le etichette della pagina seguono la tua lingua.
Cosa controlla DumbMonit
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 tipico. Router or switch: versions and firmware behind, CPU, memory, sensors, interface errors
Esempi
- hAP
- RB5009
- CCR
- CRS switch
- Cloud Hosted Router
Come si collega
Cosa serve
- Read-only userThe dumbmonit user created above, in the dumbmonit-read group. Sent as HTTP basic authentication.
Porte di rete da aprire
443/TCPREST API (HTTPS, default)80/TCPOnly with the HTTP protocol option
Passaggi di configurazione: 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.
Attenzione. 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.