Community discussions

MikroTik App
 
hajekl
just joined
Topic Author
Posts: 3
Joined: Mon Jul 31, 2017 12:58 pm

Dude client not show syslog messages

Mon Jul 31, 2017 1:02 pm

Hello,
I'd like to ask for advice. I'm trying to set the syslog server to Dude in version 6.40 (RB hEX 750GR3). I am currently running version 3.6 (PC), where syslog works perfectly. I'd like to go to the Dude, which runs on the routerboard itself.

Dude client does not display received syslog message from other routerboard (other subnets). Dude does not display even its local syslog messages. Routerboard - Dude server (10.0.1.126 - printscreen) shows messages only if the adresss in remote logging is set as 127.0.0.1. If the adress is set differently as one of the local IPv4 adress, the message are not showen. The messages are not shown even from the other routerboards.UDP datagrams on port 514 on Dude server arrives, but they are not shown in Dude client itself.
The logging configuration of the Dude server and the syslog client is attached below.
Thank you

Lukas H.

Code: Select all

Dude server side:
Local IPv4: 10.0.1.126/25
/system logging
Rules:
add action=DudeMainLogs topics=dude
add action=LocalMainLogs topics=info
add action=LocalMainLogs topics=warning
add action=LocalMainLogs topics=error
add action=LocalMainLogs topics=critical
add action=remote topics=info
add action=remote topics=system
add action=remote topics=error
add action=remote topics=critical
/system logging action
set 3 remote=127.0.0.1 src-address=10.0.1.126
add disk-file-count=50 disk-file-name=disk1/logs/DudeMainLogs/DudeMainLogs \
disk-lines-per-file=10000 name=DudeMainLogs target=disk
add disk-file-count=50 disk-file-name=disk1/logs/LocalMainLogs/LocalMainLog \
disk-lines-per-file=10000 name=LocalMainLogs target=disk

Syslog client side (RB 3011UiAS)
Local IP: 10.0.254.140/29
/system logging
add topics=wireless
add action=remote topics=info
add action=remote topics=error
add action=remote topics=critical
add action=remote topics=warning
add action=remote topics=interface
/system logging action
set 3 remote=10.0.1.126
You do not have the required permissions to view the files attached to this post.
 
User avatar
villageworker
newbie
Posts: 38
Joined: Fri Nov 11, 2011 9:54 pm

Re: Dude client not show syslog messages

Thu Aug 17, 2017 1:18 am

The only thing I can not see from the information you provided is if on the dude server you have enabled syslog rules to allow client from a source address.

Image
 
hajekl
just joined
Topic Author
Posts: 3
Joined: Mon Jul 31, 2017 12:58 pm

Re: Dude client not show syslog messages

Sat Aug 26, 2017 3:20 pm

I have all subnets enabled, but the syslog messages are not displayed.
Thanks
 
User avatar
villageworker
newbie
Posts: 38
Joined: Fri Nov 11, 2011 9:54 pm

Re: Dude client not show syslog messages

Tue Aug 29, 2017 6:23 am

Below is my work flow to get syslog working on my routerboard 750G r3. The dude package V6 must be installed and the external drive formatted and enabled for dude usage.

1) # Dude Server host machine (750G r3) logging changes

/system/logging/actions
create a action usblog
play with lines per file and file count to control size of log and number of log to rotate through respectively.

Image

2) # Enable dude logging on dude server host
Image

# system/logging/rules
Image

3) Dude Server setting
# Enable Syslog rules using webfig

Image

4) # Add syslog IP to client machines

Please suggest corrections and improvements to this workflow.
 
hajekl
just joined
Topic Author
Posts: 3
Joined: Mon Jul 31, 2017 12:58 pm

Re: Dude client not show syslog messages

Wed Aug 30, 2017 12:55 pm

I saved the database, followed by Dude, upgraded the last ROS (6.40.2) and then uploading the DB and turning on the Dude solved this problem. The configuration was right and I did not change anything. Now all syslog messages from all devices are in the log. Apparently a bug, but I'm glad it all works now :)
 
ZschimmerIT
newbie
Posts: 30
Joined: Thu Jul 13, 2017 2:50 pm
Location: Germany

Re: Dude client not show syslog messages

Thu Nov 30, 2017 11:28 am

Hi, had also problems connecting syslog to Dudeserver running local on RB3011UIAS.
My solution was:
syslog remote: 127.0.0.1 and create a firewall rule Chain: input - Protocol: udp - Port: 514 - allow

Cheers

Marcel

Who is online

Users browsing this forum: No registered users and 29 guests