Hi all:
I have searched through this forum and the documentation and I haven't found what I am after.
Here is my situation: I currently have about 18 Mikrotik RouterOS machines that I need to administer. They each run a location/facility, and they have almost identical setups, except they may display a different HTML page, or use different IP ranges for its networks. But all the hotspot and firewall setup is pretty much identical, and they call talk to the same RADIUS server.
It has become increasingly difficult and time consuming for me to manually update these machines, say, when I need to add a new hotspot to each of these 18 machines. My company has plan to deploy more and more of these similar machines, so we are talking about perhaps a few dozens of these machines.
I know there are the import/export functions provided by RouterOS, but is there an easy way for me to say, export the settings from one machine (the development machine), and have it automatically updated on all other machines?
Currently, I have a perl script that uses Perl::Expect to connect to each of the machine via SSH, log in, and run some commands, but this is not 100% reliable. Sometimes the results returned from the Mikrotik RouterOS box are too long (long string) and some portions of it gets dropped (in the middle of the string), and I still cannot get it to change directory and run commands in a sub-directory successfully (i.e. /ip hotspot ; print ; set 1 name="new-hotspot")
I am current still running on RouterOS 2.8.28, and looking at upgrading to 2.9.x soon. Are there any new features in RouterOS 2.9 that may help me with this situation? Because I could not find it in the documentation.
Here are some features that may help me with this problem:
1) Provide SNMP-SET in RouterOS
2) Allow SSH host key on RouterOS, so I can login via SSH without getting prompted for password, then I can script my updates much easier
Can anyone help me out?
P.S. I am willing to share the scripts/codes that I am using to do the mass update, but I didn't want to create a giant post.