Linux source setup not working for CentOS 7
Posted: Tue Aug 02, 2016 7:54 am
Hello,
Tried to configure rsyslogo on two CentOS 7 Linux servers following the NLS procedure
The above worked in the past on CentOS 6 servers (at least 5 of them are still sending)
I have an input at 5546:
Tried a tcpdump on the nls server but I'm not seeing anything coming in.
Tried adding
to /etc/rsyslog.d/99-nagioslogserver.conf and I can see the rsyslog-debug.log populating. What else can I do to troubleshoot this issue?
This is my /etc/rsyslog.d/99-nagioslogserver.conf
Tried to configure rsyslogo on two CentOS 7 Linux servers following the NLS procedure
Code: Select all
curl -s -O https://nlsserver/nagioslogserver/scripts/setup-linux.sh
sudo bash setup-linux.sh -s nlsserver -p 5546
I have an input at 5546:
Code: Select all
syslog {
type => 'syslog-linux'
port => 5546
}Tried adding
Code: Select all
DebugFile /var/log/rsyslog-debug.log
DebugLevel 2This is my /etc/rsyslog.d/99-nagioslogserver.conf
Code: Select all
### Begin forwarding rule for Nagios Log Server NAGIOSLOGSERVER
$WorkDirectory /var/lib/rsyslog # Where spool files will live NAGIOSLOGSERVER
$ActionQueueFileName nlsFwdRule0 # Unique name prefix for spool files NAGIOSLOGSERVER
$ActionQueueMaxDiskSpace 1g # 1GB space limit (use as much as possible) NAGIOSLOGSERVER
$ActionQueueSaveOnShutdown on # Save messages to disk on shutdown NAGIOSLOGSERVER
$ActionQueueType LinkedList # Use asynchronous processing NAGIOSLOGSERVER
$ActionResumeRetryCount -1 # Infinite retries if host is down NAGIOSLOGSERVER
# Remote host is: name/ip:port, e.g. 192.168.0.1:514, port optional NAGIOSLOGSERVER
*.* @@nlsserver:5546 # NAGIOSLOGSERVER
### End of Nagios Log Server forwarding rule NAGIOSLOGSERVER
#
DebugFile /var/log/rsyslog-debug.log
DebugLevel 2