Community discussions

MUM Europe 2020
 
User avatar
savagedavid
Trainer
Trainer
Topic Author
Posts: 310
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.
 
User avatar
sten
Forum Veteran
Forum Veteran
Posts: 920
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...
Move along. Nothing to see here.
 
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: 1552
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: 3804
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: 382
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: 24425
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: 509
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: 24425
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Mon Dec 11, 2006 9:56 am

as already said, no

Who is online

Users browsing this forum: Lindaawilsoon, sid5632, Znevna and 98 guests