ИнтеграцииСеть и межсетевые экраны
Мониторинг MikroTik RouterOS в DumbMonit
RouterOS and RouterBOOT versions behind, CPU, memory, temperatures, fans and power supplies, and errors and link losses on every interface.
ДокументацияОфициальный сайт: MikroTik
Описания на английском, как в самом продукте. Подписи на странице — на вашем языке.
Что проверяет 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.
Типичное применение. Router or switch: versions and firmware behind, CPU, memory, sensors, interface errors
Примеры
- hAP
- RB5009
- CCR
- CRS switch
- Cloud Hosted Router
Как подключается
Что понадобится
- Read-only userThe dumbmonit user created above, in the dumbmonit-read group. Sent as HTTP basic authentication.
Сетевые порты, которые нужно открыть
443/TCPREST API (HTTPS, default)80/TCPOnly with the HTTP protocol option
Шаги настройки: 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.
Обратите внимание. 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.