Community discussions

MikroTik App
 
mareka
just joined
Topic Author
Posts: 9
Joined: Mon Sep 23, 2013 9:38 pm

ROS 7.1.1 and scripting problem

Fri Mar 04, 2022 10:37 am

Hello,
after i upgrade ROS to 7.1.1 my script which find failed negotiations in L2TP IPSEC stop working.
I think this line stop working :local loglist [:toarray [/log find where topics~ipsec & time>([/system clock get time] - 6m) (message~"negotiation failed.\$" || message~"src_ip")]]
I am not able to get log messages for last 6 minutes. It resturns whole log.
Any idea why?
Thank you
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3334
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: ROS 7.1.1 and scripting problem

Fri Mar 04, 2022 3:02 pm

Do this gives time -6 min?
:put ([/system clock get time] - 6m)

Who is online

Users browsing this forum: abdolali, jorgepft and 6 guests