Router os v3

Asked how can active log file and how save it ??

you can’t download the log file from the router directly, you have to set it to save log to “remote IP” and there run a Syslog Program that will get your file.

Questions:

MT Syslog Daemon is a Windows application. I only have my Windows XP desktop running in ‘office hours’ but run an i386 with RouterOS 24/7 so that User-Manager can do its AAA thing and am setting up a Ubuntu server for mail and web.

  1. If logging is set to remote but the Syslog application isn’t running will the router hold the log in memory and keep trying the remote address until it becomes available? If so how often does it try? Could a script download a log to a remote Syslog at fixed intervals?

  2. Can you do Syslogging for a remote router in RouterOS? In Dude perhaps?

  3. Is there a Linux Syslog app. the MT routers will talk to.

  4. Is remote logging done by tcp or udp?

  1. If logging is set to remote but the Syslog application isn’t running will the router hold the log in memory and keep trying the remote address until it becomes available? If so how often does it try? Could a script download a log to a remote Syslog at fixed intervals?

  2. Can you do Syslogging for a remote router in RouterOS? In Dude perhaps?

  3. Is there a Linux Syslog app. the MT routers will talk to.

  4. Is remote logging done by tcp or udp?

  1. the log program doesn’t care if something is received or not. it just sends the log. if there is no program to get those logs, they will be lost.

  2. Dude has a built-in Syslog program.

  3. Yes, hundreds probably. Syslog is a standard method, all of the programs are compatible with RouterOS.

  4. UDP

Thanks Normis. Looks like I’ll have to embark on a conquest of Dude when I’ve a free couple of months.

i need sys log file to save the log by web not by winbox
sys log file is a program ?? if it was a program how can i get it or download to save the log?

i need ur replay ASAP..
regards
kareem soliman

You can download the Mikrotik System Log Daemon from:

http://www.mikrotik.com/download/MT_Syslog.exe

It’s a Windows program. When it’s installed and running go the to Router you want to log and under system logging change the action for ‘remote’ to the IP address of the machine the syslog daemon is running on, and then set the log or logs you want to record to ‘remote’. It uses port 514 by default so you’ll need to make sure that is open in any Firewall on the Windows machine.

Or to simply download one log:

In a terminal:

[admin@Mikrotik] log> print

It will print the current log to the screen, ending with:

– [Q quit|D dump|down]

Press D, and it will save the printed log extract to its harddrive under the tital ‘Console-dump’

ftp to the router and download ‘Console-dump’ to your PC. Open it in any word-processor.