Community discussions

MikroTik App
 
iam8up
Member
Member
Topic Author
Posts: 333
Joined: Sun Oct 28, 2007 10:58 pm
Location: Troy, OH
Contact:

Exporting log to syslog-ng

Wed May 21, 2008 7:47 pm

I am working on a project to have all levels (info,error,warning,critical) sent to a remote sysloging server, syslog-ng.

At this point I have this set in MT:
# may/21/2008 12:43:57 by RouterOS 3.7
# software id = NQWB-87T
#
/system logging action 
set memory memory-lines=100 memory-stop-on-full=no name="memory" target=memory 
set disk disk-lines=5000 disk-stop-on-full=yes name="disk" target=disk 
set echo name="echo" remember=yes target=echo 
set remote name="remote" remote=10.0.0.61:514 target=remote 
/system logging 
add action=disk disabled=no prefix="" topics=info 
add action=disk disabled=no prefix="" topics=error 
add action=disk disabled=no prefix="" topics=warning 
add action=disk disabled=no prefix="" topics=critical 
add action=remote disabled=no prefix="uberpwnage-" topics=info 
That should send all of the info topics to the remote server, correct?

Next I have to worry about the configuration of syslog-ng. Does anyone have this configuration done? I ask so I am not redoing the work that could be shared =)

Thanks in advance!

Who is online

Users browsing this forum: benbgg, GoogleOther [Bot], infabo, Marc1963, quezhou and 133 guests