Community discussions

MikroTik App
 
User avatar
hossain2004a
Member Candidate
Member Candidate
Topic Author
Posts: 247
Joined: Mon Dec 22, 2014 7:34 pm
Location: Iran

Script for making queues and graphs

Fri Apr 10, 2015 10:05 pm

Hello again!
In order to have Graph of usage of my users in hotspot server (for example) I do this:

make unlimited queue with lowest (8) priority with target IP of my User with name of my user.
then I go to graphs and make graph out of that queue. and just make it available for that specific IP and my server IP.

So is there any script to do this all automatically?
I mean when I make user in UM or when he/she log in?
 
User avatar
boen_robot
Forum Guru
Forum Guru
Posts: 2400
Joined: Thu Aug 31, 2006 4:43 pm
Location: europe://Bulgaria/Plovdiv

Re: Script for making queues and graphs

Fri Apr 10, 2015 11:59 pm

There's on-login and on-logout scripts in the user's hotspot profile. You can use those.

There's no way to let User Manager do the same though, so if the user has logged in by other means, you can't do an on-login script.
 
User avatar
hossain2004a
Member Candidate
Member Candidate
Topic Author
Posts: 247
Joined: Mon Dec 22, 2014 7:34 pm
Location: Iran

Re: Script for making queues and graphs

Sat Apr 11, 2015 3:44 pm

yes I know about log-in script, but do you have some of these script or shall I write one? (I'm too lazy :lol: )

Who is online

Users browsing this forum: vingjfg and 45 guests