You are not logged in.

#1 2013-07-30 04:27:58

bediger4000
Member
Registered: 2013-07-29
Posts: 9

Receive syslog messages from remote system

I want to replace my ancient and aging Slackware 12.0 server with an Arch server. One of the hurdles is to receive syslog messages (UDP/IP, port 514) over the network from a Cisco 678 DSL modem/router, and from a DD-WRT based wireless access point.

How do I go about getting a systemd-based Arch server to receive syslog-formatted messages from the network on UDP port 514?

I'm not looking to view the Arch system's journal over the network, but rather to receive non-local messages and log them.

Last edited by bediger4000 (2013-08-01 15:44:48)

Offline

#2 2013-07-31 04:32:30

sbmomeni
Member
Registered: 2013-07-26
Posts: 29

Re: Receive syslog messages from remote system

The syslog-ng does this as stated in the wiki (at <https://wiki.archlinux.org/index.php/Syslog-ng#Sources>).
Also, at the begining of the same page, it claims that systemd journal provides same functionality.

Offline

#3 2013-07-31 05:05:15

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Receive syslog messages from remote system

See systemd-journal-gateway(8) to learn how to do this.  I tried once, but after about 3.5 minutes of failing my ADD took hold and I never went back to it.

Offline

#4 2013-08-01 13:20:20

bediger4000
Member
Registered: 2013-07-29
Posts: 9

Re: Receive syslog messages from remote system

WonderWoofy: I hope you mean "man systemd-journal-gatewayd", as I find that man page, but not "systemd-journal-gateway".  systemd-journal-gatewayd works the other way. According to the man page it "serves journal events over the network. Clients must connect using HTTP."

sbmomeni: I agree that your reference says the systemd journal provides the same function - but how?  And does "this functionality" refer to the logging part of syslog-ng, or to the receiving messages from other machines part?

Offline

#5 2013-08-01 13:48:31

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Receive syslog messages from remote system

Oh I thought that was wht you wanted... my bad.  And yes, apparently I wasn't able to hit that last 'd' quite hard enough to get it to register.

Offline

Board footer

Powered by FluxBB