Hi i’d like to create scripts on the routerboard to handle custom software commands. For example if i have a webserver is behind my routerboard and someone would like to browse it by typing in the router’s domain, i’d like to routerboard to wake up that particular server from sleep than send the request to the server.
I’d also like to use scripting as a way of routing system load in a cluster. For example if there is a program to run the script will wake up some systems from sleep based on some algorithm for the system to distribute the program to certain systems or all the systems inside the network for calculations. I’d also like the router to show the system load of the systems based on data transmitted from monitoring software from the systems in the cluster. So for example if i were to type 192.168.88.1/status with hotspot enabled it would show me the loads of each system in the cluster. I can do web programming to create the page but it would have to gather data from the router(script)
I’m doing this for my own project in making a distributed system with power savings so that idle systems can sleep when they have no work to do and be woken up whenever there are calculations.
Is it also possible to script routerOS to change it’s CPU frequency based on load? I’m currently using an RB450G and i would like it to change its CPU frequency dynamically using a script. Its also to reduce heat for the router so that i can run it overclocked if there is a lot of load than reduce the clock when idle for less power use and heat.
I’d like to know if scripting in routerOS can be used for these situations as it involves listening for certain ports/commands and also accessing hardware resources.