LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 01-12-2018, 02:23 AM   #1
michael_hoang
LQ Newbie
 
Registered: Jan 2018
Posts: 8

Rep: Reputation: Disabled
Question How to configure multiple ports for UDP Syslog on RedHat?


Dear everyone,

I am trying to configure my syslog server listening to 5 UDP ports (514-518)
I have configured my port.conf and placed it into /etc/rsyslog.d/. The content of port.conf as below:
module(load="imudp")
input(type="imudp" port=["514","515","516","517","518"])


In /etc/rsyslog.conf, i have put the following content to read the config file from /etc/rsyslog.d
# Include all config files in /etc/rsyslog.d/
$IncludeConfig /etc/rsyslog.d/*.conf


After that, i have restarted rsyslog service. However, checking command "netstat -nlp", only port 514 is listening. The other ports are not listening at all.
Tried to push some data through 515 as well but failed.

Can some one give me an advice in this situation? Is there something wrong with my configuration file?

Thank you for your help in advance.
Regards,
Anh
 
Old 01-12-2018, 06:33 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Should you not be contacting RHEL support for this?

RHEL is a subscription based Linux distribution, you need to pay for it. You are ain't you?

If not, have a look at CentOS instead.
 
Old 01-12-2018, 08:41 AM   #3
michael_hoang
LQ Newbie
 
Registered: Jan 2018
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jsbjsb001 View Post
Should you not be contacting RHEL support for this?

RHEL is a subscription based Linux distribution, you need to pay for it. You are ain't you?

If not, have a look at CentOS instead.
this is a customized RHEL which delivered along with product appliance. RHEL does not support this things.
CentOS also has the same issue.
Is there something wrong with my config file?

Regards,
Anh

Last edited by michael_hoang; 01-12-2018 at 09:05 AM.
 
Old 01-12-2018, 12:36 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Moderator response

Moved: This thread is more suitable in <RedHat> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
receive UDP on a very wide range of multiple ports Skaperen Linux - Networking 7 01-18-2018 02:45 PM
Why do Syslog per udp show in tcpdump zhjim Linux - Networking 4 09-18-2013 01:47 AM
[SOLVED] Sending to syslog-ng server on multiple ports doesn't work pingu Linux - Server 23 07-18-2012 06:53 AM
[SOLVED] checking for open ports need ports 5198, 5199 open for UDP raypsi Linux - Security 9 05-22-2012 06:51 PM
redhat F9 with multiple nics....configure one to go out onto internet davide123 Linux - Newbie 12 02-01-2010 11:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 12:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration