Community discussions

MikroTik App
 
User avatar
savagedavid
Trainer
Trainer
Topic Author
Posts: 320
Joined: Thu Aug 25, 2005 12:58 pm
Location: Cape Town, South Africa
Contact:

Feature Request: Event Handling

Sat Sep 09, 2006 8:51 pm

I would like to see some sort of event handling option in Mikrotik. Along the lines of: on [event] do [action].

At the moment we have to use the scheduler to periodically check for a certain condition. It would be great to have this work the other way around where an event occurence could fire off an action.
 
sten
Forum Veteran
Forum Veteran
Posts: 919
Joined: Tue Jun 01, 2004 12:10 pm

Tue Oct 17, 2006 11:30 pm

something like this would be cool on a pppoe server with low activity:
/ interface pppoe-server server set [ find ] login-event={
:log info ( [ / interface pppoe-server get $instance name ] . \_ . [ / ppp active get $entry name ] )
}
or perhaps something more generic would be cool
/ system event add on-event=pppoe,login source={
:log info ( [ / interface pppoe-server get $instance ] . \_ . \
[ / ppp active get $entry name ] )
asynchronously would be nice...
 
pedja
Long time Member
Long time Member
Posts: 684
Joined: Sat Feb 26, 2005 5:37 am

Thu Oct 19, 2006 6:40 pm

Count me in in this request.
 
cmit
Forum Guru
Forum Guru
Posts: 1547
Joined: Fri May 28, 2004 12:49 pm
Location: Germany

Fri Oct 20, 2006 10:32 am

Me too ;)

Best regards,
Christian Meis
 
changeip
Forum Guru
Forum Guru
Posts: 3829
Joined: Fri May 28, 2004 5:22 pm

Fri Oct 20, 2006 6:51 pm

Me too.

PPP login/logout events.
DHCP events
for the daring, a firewall filter or mangle action of 'run script'.

vrrp & netwatch have this functionality already. similiar implmentation on other modules would be good.
 
eflanery
Member
Member
Posts: 376
Joined: Fri May 28, 2004 10:11 pm
Location: Moscow, ID
Contact:

Fri Oct 20, 2006 8:54 pm

I'll sixth that. :D

Something like this would be great.

Perhaps as something similar to the "log" actions, with some fancy new marchers (regex!), and some prepopulated relevant variables. :) Just a thought.

--Eric
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26287
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Mon Oct 23, 2006 8:43 am

i'ts planned, but not sure when it will be ready
 
Hellbound
Long time Member
Long time Member
Posts: 508
Joined: Tue Oct 26, 2004 11:21 am

Sat Dec 09, 2006 9:55 pm

i'ts planned, but not sure when it will be ready
this is main part of API we were talking about before.
if you just add objects, reference and compilation to it.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26287
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Mon Dec 11, 2006 9:56 am

as already said, no
 
chuq
newbie
Posts: 41
Joined: Sun Nov 27, 2022 2:18 pm

Re:

Mon Nov 28, 2022 6:00 pm

i'ts planned, but not sure when it will be ready
and now ?

Who is online

Users browsing this forum: No registered users and 85 guests