Сканирует резкие скачки трафика на предмет флуда.
Создаем автоматизацию для запуска скрипта System-Scheldule-TrafficMonitor
/system script run TrafficMonitorScript
Создаем System- Script-TrafficMonitorScript и вставляем свой сhatbot_id и сhat_id (в примере 111111)
:while (true) do={
:if ( [/interface monitor-traffic ether1 once as-value]->»rx-bits-per-second» > 80000000 ) do={
/tool fetch url=»https://api.telegram.org/11111111/sendMessage?chat_id=1111111&text=Alert%20incoming%20traffic%20is%20too%20high»
:log info «Alert sent to Telegram.»
:exit
}
:delay 1
}
