UCRM-plugins icon indicating copy to clipboard operation
UCRM-plugins copied to clipboard

Mikrotik Queue Sync plugin - configure multiple routers

Open juanluisbaptiste opened this issue 5 years ago • 4 comments

Hi,

We have various Mikrotik routers which their queues need to be in sync with ucrm. As far as I can see with this plugin, currently this is not possible, only one router is supported.

Is there any plans to support multiple routers with this plugin ?

juanluisbaptiste avatar Jul 23 '19 21:07 juanluisbaptiste

Same question?

cdmarioe avatar Oct 29 '19 00:10 cdmarioe

I don't know if anyone looks at these issues, but if you stumble in here it appears you can synchronize multiple routers by separating the IP addresses with a comma. I believe you will need to use the same username/password combo across all routers though.

davidandrewcope avatar Apr 21 '21 01:04 davidandrewcope

I don't know if anyone looks at these issues, but if you stumble in here it appears you can synchronize multiple routers by separating the IP addresses with a comma. I believe you will need to use the same username/password combo across all routers though.

This solution worked for me with two routers. Both routers have same username and password.

SirDan1963 avatar Apr 30 '21 17:04 SirDan1963

It turns out the above solution did not work 100% for us. When separating the IP addresses with a comma, queues were added to both routers initially, but when a user service plan changes in the UCRM or if the queue was removed from the routers manually, the queue would only update or be added on the second router IP address for some reason. What so far what has worked for us is to change the name of the plugin in the manifest.json file and repackage the plugin using the pack-plugin script. This allows you to upload a second copy of the plugin into the UCRM. Set each instance of the plugin to different router IP address. So far we can remove queues from each router manually and they get recreated. Also, changing a user service plan in the UCRM makes the queue update on each router. This of course is not a perfect solution, especially if you have several routers you want to run queues on. In our case we only need to synchronize two routers.

SirDan1963 avatar May 04 '21 01:05 SirDan1963