A
A
Alexey Vladimirenko2016-02-22 15:23:34
System administration
Alexey Vladimirenko, 2016-02-22 15:23:34

How to control several Mikrotiks at the same time?

Hello. There are ~80 Mikrotik routers available, geographically scattered over a large area. The tasks at each point are identical. Tell me, is there a utility or addition to the existing software to manage a whole fleet of such routers at the same time?
Example:
I set a rule in the firewall and sent it to all devices at once. I clicked to update - everything was updated to the last.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

6 answer(s)
A
Alexey Vladimirenko, 2017-03-18
@siferdj

In general, I found a solution. To me, it's perfect in every way. I'll start over.
And now in more detail.
Raised MySQL server. Entered all the necessary data. Everything is reliable, fast and affordable.
Everything is trivial here, as with the rest of the points.
php*-snmp, php*-ssh2
It all started with the fact that it was necessary to manage a large number of routers, as well as monitor their "well-being" and many other parameters.
Having not received a suitable and correct solution for remote administration of routers, I started studying zabbix. Having set up, I began to delve into the intricacies of monitoring. This, I'll tell you, is another gift. Tried to pervert with this product and wanted to achieve that ill-fated remote control. It turned out, but with crutches.
And now all the salt.
Filled in the data in the database. Well, as filled. Parsing to php moved everything you need. After that, a couple of days of torment and what do we get as a result?
In fact, we have the same zabbix, only highly specialized for everything. As I understand it, I used 2% of all the possibilities of zabbix itself. It heavily loads both the database and, as a result, the system.
In general, this whole saga with Mikrotik cost me up to 100 lines of code in php. The necessary functionality has been obtained. Remote control by regions, by models, by pieces. Monitoring everything you need. Alerts. Plus everything is in the database. Can be used for any task in the future.
Web interface that suits only you. As you draw, so it will be. Collecting information is only the one that is needed. Remote control just what you need.
Outcome:
Learn php and html+css. If you want interactivity, you can also learn javascript. The task seems not easy, but in fact it is trivial. For example, in order to manage all routers, you need login information and 10 lines of code. Update, backup, change the password for wi-fi, delete, add. Anything your heart desires. Everything is safe and fast. 1 minute to update all 80 pieces. How are you? So think)))

L
loxenehej, 2016-02-22
@loxenehej

Write a script.
Mikrotiks can be controlled by scripts.

G
Gregory, 2016-02-24
@Maxlinus

as an option - ssh
examples: mum.mikrotik.com/presentations/RU14/vadim.pdf

I
Igor, 2016-02-22
@unitby

Look at www.mikrotik.com/thedude
Or write it yourself, there is an API

N
nimbo, 2016-02-22
@nimbo

on client routers, prepare a script that downloads a file (.rsc) with the necessary commands and executes it - that's all. /tool ​​fetch and import are all you need. on the only client on which you manually collect the necessary config, do the export of the desired branch to the .rsc file. ??? PROFIT!!! ;)
but it's not that convenient, it's better to tie everything up in The Dude - at the same time you can monitor the hardware and watch the load on the channels.
or hire a mikrotik'ovod as an assistant)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question