RSyslog

General support questions
Post Reply
glousteau
Posts: 5
Joined: 2018/08/21 11:14:01

RSyslog

Post by glousteau » 2018/08/21 11:19:38

Hi,

I'm a Linux noob. I'm trying to setup CentOS as a syslog server for all of my devices on my LAN (primarily routers & switches). I followed this post:
https://www.tecmint.com/create-centrali ... -centos-7/

and have just pointed a switch to the ip address of my CentOS box. However, I'm not getting any log files built. I know this switch sends a syslog message every time a succesful/unsuccessful login event occurs and I've done this.

I see the CentOS box is listening on port 514:
[root@CentOSVM log]# netstat -tulpn | grep rsyslog
tcp 0 0 0.0.0.0:514 0.0.0.0:* LISTEN 1076/rsyslogd
tcp6 0 0 :::514 :::* LISTEN 1076/rsyslogd
udp 0 0 0.0.0.0:514 0.0.0.0:* 1076/rsyslogd
udp6 0 0 :::514 :::* 1076/rsyslogd
[root@CentOSVM log]#


Any ideas what might be going on?

thanks
Greg

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: RSyslog

Post by TrevorH » 2018/08/21 11:33:06

Did you tell firewalld to allow udp port 514 from your remote devices? You'd need to run something like firewall-cmd --add-service=syslog and then the same again with --permanent to make it stick over a reboot/restart.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

glousteau
Posts: 5
Joined: 2018/08/21 11:14:01

Re: RSyslog

Post by glousteau » 2018/08/21 13:13:05

I had NOT done that, but did do it just now, still no dice

Post Reply