Snooper from script

Hi

The wireless snooper functionality allows the option to scan and filter by frequencies, stations or networks if used from winbox, or terminal by pressing the “s” key for stations “f” for frequency or “n” for networks

However, if it is called from a script, it is not possible to carry out this filtering since a key cannot be “pressed” from a script, so the result is a scan without the detail of networks or stations, since the by default shows data by frequency.

Using the flat-snoop functionality, a scan can be made with the details of networks and stations and exported to a file, but the scan returns a very large file that cannot be treated later as a variable from the mikrotik.

Any solution to obtain snooper filtered result by script, for example for neighboring networks and the % of frequency utilization for each one?

Thanks

According to my knowledge in such cases, you may need to explore alternative approaches to achieve your desired filtering. One option could be to scan all the frequencies and then parse the results to filter them based on your criteria within the script. You would need to extract the necessary information from the scan results and apply your filtering logic programmatically.