Open qzq-123 opened 2 months ago
ssh mktxp_user@x.x.x.x "/ip/firewall/connection/print terse"
I managed to get the data via ssh, but I think the api should be able to do the same, does anyone know what to do?
Refer to this discussion https://forum.mikrotik.com/viewtopic.php?t=106989#p531731
I tried increasing the tracking timeout parameter from 35 seconds to 5 minutes.
Then using the same print command
/ip/firewall/connection/print proplist=src-address,dst-addr ess without-paging terse
The number of connections printed increased from 5000 to 40000, but the memory consumption increased by 60Mib, and the cpu seems to have increased a little, and the response slows down when clicking on the winbox.
I'm having an issue where commands that would otherwise work fine are reporting errors when my router has too much data.
A screenshot of the error is below
![error-print](https://github.com/socialwifi/RouterOS-api/assets/51083159/4a03fd6b-7f3a-4723-8dc9-db86154f81b2)
A screenshot of the normal operation is as follows![normal-print](https://github.com/socialwifi/RouterOS-api/assets/51083159/76e389dc-26eb-41f4-883a-22595f12f730)
It looks like it requires me to click if I want to see all the data, but how should this be implemented in the code?
Please let me know if I need to provide more information. Thanks Python 3.8.10 RouterOS-7-api 0.18.1.dev0 routeros 7.12.1