Page 1 of 1

Dude client not show syslog messages

Posted: Mon Jul 31, 2017 1:02 pm
by hajekl
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

Re: Dude client not show syslog messages

Posted: Thu Aug 17, 2017 1:18 am
by villageworker
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

Re: Dude client not show syslog messages

Posted: Sat Aug 26, 2017 3:20 pm
by hajekl
I have all subnets enabled, but the syslog messages are not displayed.
Thanks

Re: Dude client not show syslog messages

Posted: Tue Aug 29, 2017 6:23 am
by villageworker
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.

Re: Dude client not show syslog messages

Posted: Wed Aug 30, 2017 12:55 pm
by hajekl
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 :)

Re: Dude client not show syslog messages

Posted: Thu Nov 30, 2017 11:28 am
by ZschimmerIT
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