hardcopy of sessions

hi …

is it possible to make a hardcopy of session-list ?

regards

gerd

come on … nobody needs to print out session-list ??

tool user-manager session print file=1
command creates files 1.txt on the router’s FTP, that lists all session or what you get from ‘tool user-manager session print’.

thank you…

yes, but its not neatly arranged … if you want to find some session in certain time you´l get crazy ..
any chance to get a list like session list in userman web interface ??


thanks

No, you can get only in the way you have after command print, like this

you can import to the openoffice and use search.

# dec/30/2008 12: 8:26 by RouterOS 3.13
#
Flags: A - active 
 0   customer=mikrotik user="a" nas-port=2150629380 
     nas-port-type=wireless-802.11 nas-port-id="bridge1" 
     calling-station-id="00:0C:42:0D:2E:7C" user-ip=1.1.1.254 
     host-ip=10.5.5.50 status=stop from-time=jul/08/2008 09:53:15 
     till-time=jul/16/2008 12:56:23 terminate-cause=admin-reset 
     uptime=1w1d3h3m8s download=2544854449 upload=105727524 

 1   customer=mikrotik user="guntis" nas-port=2150629381 
     nas-port-type=wireless-802.11 nas-port-id="bridge1" 
     calling-station-id="00:0C:42:0D:00:00" user-ip=1.1.1.1 
     host-ip=10.5.5.50 status=stop from-time=jul/08/2008 11:13:29 
     till-time=jul/16/2008 12:56:23 terminate-cause=admin-reset 
     uptime=1w1d1h42m54s download=571268159 upload=130482489 

 2   customer=mikrotik user="guna" nas-port=2150629397 
     nas-port-type=wireless-802.11 nas-port-id="bridge1" 
     calling-station-id="00:0C:42:0D:2E:7C" user-ip=1.1.1.2 
     host-ip=10.5.5.50 status=start,stop,interim 
     from-time=jul/16/2008 12:57:24 till-time=aug/06/2008 10:14:15 
     terminate-cause=admin-reboot uptime=2w6d21h16m51s download=3292005456 
     upload=234214671 

 3   customer=mikrotik user="b" nas-port=2150629398 
     nas-port-type=wireless-802.11 nas-port-id="bridge1" 
     calling-station-id="00:0C:42:0D:00:00" user-ip=1.1.1.3 
     host-ip=10.5.5.50 status=start,stop,interim 
     from-time=jul/17/2008 05:36:41 till-time=aug/06/2008 10:14:15 
     terminate-cause=admin-reboot uptime=2w6d4h37m35s download=2501599482 
     upload=170207712

yes, but its not nice … is ther a chance to implement this feature in one of the future versions …

thank

gerd

what’s exactly not nice? :slight_smile: or better yet - what is nice for you?

you could use “print terse” and then filter out all unneeded information in openoffice, leave just the addresses for example

hi normis …

so what we need is a list like the “session list” in usermanager web interface (shortlist of sessions)…
we have to print it … :frowning: … and if we print the “print file=1” list we are getting tons of paper … because we have 20 customers (campingplaces with every 1000 users) …

you see… nice is a shortlist :laughing:

why do you need it, and how will you use it?

ok…

in europe we have a law called “vorratsdatenhaltung” that means you have to store connectiondata from every user incl. logintime, logouttime, identity, ip address …for a half year.
with usermanager it is no problem and very comfortably :laughing:
so what our customers want is to print out sessionlists one time per week (because the have around 50-100 different users per day) in a form like in usermanager web interface…
easy … like username ip-address …date…logintime…logouttime…not more … they don´t want (and i don´t want also) import lists in openoffice or word … and fiddle around till i got it…

because… if any user makes shit in the net and a lovely policeman comes… they can show… taadaaa… a nice list

so the only question was… if it´s possible to make it easy in one of the next versions…

gerd

have you looked at CALEA - it’s something similar, for americans:
http://wiki.mikrotik.com/wiki/Calea

But anyway, I stand by my previous suggestion, and I don’t see what’s wrong with it.

.. print terse file=name

will give you small amount of one-line session list in a file, then you can import it into a database, parse it, and remove all that you don’t need.

you can even make a script that will update this file every few minutes, and email to your server, which would then automatically update the database based upon it

hallo normis,

shure it´s nothing wrong… anyway … its only easyer to do it direcly from user manager…
our customers have no need to do anything in the router…
but it´s ok…i start to write a script

thank you

gerd