Community discussions

MikroTik App

Search found 5 matches

by normanr
Thu Sep 11, 2008 6:03 pm
Forum: Scripting
Topic: Invoke script when log entry is created from failed login
Replies: 5
Views: 2011

Re: Invoke script when log entry is created from failed login

:foreach i in [log print as-value follow  ] do={:put $i}
almost works, but it fails because follow doesn't flush to foreach until you stop the follow
by normanr
Thu Sep 11, 2008 6:01 pm
Forum: Scripting
Topic: Invoke script when log entry is created from failed login
Replies: 5
Views: 2011

Re: Invoke script when log entry is created from failed login

hrmm, that's something I can work with.

I'd still like something that would run the script as-soon as the log entry is written. (so that I don't have to run the script every 10s).

There's no log monitor do={} syntax is there? (or log print follow do={})
by normanr
Thu Sep 11, 2008 4:12 pm
Forum: Scripting
Topic: Invoke script when log entry is created from failed login
Replies: 5
Views: 2011

Re: Invoke script when log entry is created from failed login

or maybe, even create a new logging action that will start a script? (ultimately it would be awesome if the script environment can be populated with the logging data)
by normanr
Thu Sep 11, 2008 4:08 pm
Forum: General
Topic: Feature Request: OpenVPN [ovpn] udp tunnels
Replies: 249
Views: 139580

Feature Request: OpenVPN [ovpn] udp tunnels

It's a long standing request, and shouldn't be a lot of work.
by normanr
Thu Sep 11, 2008 4:04 pm
Forum: Scripting
Topic: Invoke script when log entry is created from failed login
Replies: 5
Views: 2011

Invoke script when log entry is created from failed login

It seems that there are many requests for running scripts when a certain log entry is created. Just to double-check is there any way to do this? Worse case a script could run every minute to check the logs, but it's mentioned elsewhere that the log contents are not available from script, is this tru...