Community discussions

MikroTik App
 
User avatar
neandero
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Fri Jul 17, 2009 11:43 am
Location: Inside Mind

UM Scripting Variable Names?

Fri Sep 23, 2011 2:19 am

is there a place to get a list of all variable names in UM?


/tool user-manager user>print
you can only find few here but how to get to certain data of users for example: /tool user-manager user get (actual profile) or (pool)?

how to know one user is set to what profile and change it by a script to another profile?

thank you
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: UM Scripting Variable Names?

Fri Sep 23, 2011 5:16 am

I'm not very familiar with UM, but wouldn't the tab and question mark keys auto complete things and show all the available options?
 
User avatar
neandero
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Fri Jul 17, 2009 11:43 am
Location: Inside Mind

Re: UM Scripting Variable Names?

Fri Sep 23, 2011 7:27 pm

Tab key and ? mark is almost puts the same output. I am more looking for variables related to a user's profile.
If I can search for a user and find it's profile, I can then change the profile to something else on the fly.

I found out I can let one router connect to another using scripts and ssh. This is a good news for me since
I can look at a user's daily volume from UM and have UM enter other routers to change its dynamic queue without
making the user logout at all.

so a list of variable names of UM is needed to accomplish this.

thanks,
 
User avatar
skillful
Trainer
Trainer
Posts: 552
Joined: Wed Sep 06, 2006 1:42 pm
Location: Abuja, Nigeria
Contact:

Re: UM Scripting Variable Names?

Tue Oct 04, 2011 1:08 am

Have a look at the wiki
 
User avatar
neandero
Member Candidate
Member Candidate
Topic Author
Posts: 243
Joined: Fri Jul 17, 2009 11:43 am
Location: Inside Mind

Re: UM Scripting Variable Names?

Wed Oct 05, 2011 12:07 am

Thank you for this really good reply. I will defiantly benefit from it since i can see variables for profiles.

Thank you

Who is online

Users browsing this forum: No registered users and 20 guests