Community discussions

MikroTik App
 
madman22
just joined
Topic Author
Posts: 18
Joined: Fri Mar 23, 2018 4:28 pm

Feature Request: Logging Action to run a script

Tue Sep 21, 2021 2:05 am

In the logging actions, you could make a "run script" action (similar to dhcp-client script) that has built-in variables with an array of topics and the message. Then we could choose when and where to send the logs using the RouterOS scripting language. Sending messages to other logging actions would be good, maybe also custom logging topics could help.

I was inspired by a recent reddit post about their prometheus server logging in repeatedly, clogging up the logs, and realized I have the same problem with my provisioning server logging in via ssh to change the snmp location to the dhcp snooping circuit id.

Thanks!
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Feature Request: Logging Action to run a script

Tue Sep 21, 2021 10:33 am

ahh I love when they suggest ways to block the router even more in the event of a DDoS attack... and even if it is misconfigured...
 
rplant
Member Candidate
Member Candidate
Posts: 281
Joined: Fri Sep 29, 2017 11:42 am

Re: Feature Request: Logging Action to run a script

Wed Sep 22, 2021 4:01 am

I would also like this.
Hopefully if you don't use the new features, it's would be the same as it is now.

Who is online

Users browsing this forum: No registered users and 23 guests