NLS setup-linux.sh and rsyslogd 5.10.1
Posted: Wed Dec 14, 2016 2:27 pm
Hello Nagios Log Server General Support,
I am evaluating Nagios Log Server 1.4.3 (nagioslogserver-1.4.3-64.ova). I have a test SUSE version 11.4.16 host (linux-fh9x) with rsyslogd 5.10.1 that I want to send application log entries to Nagios Log Server (NLS). I run the following commands with the results below.
1) linux-fh9x:~ # curl -s -O http://192.168.1.105/nagioslogserver/sc ... p-linux.sh
2) linux-fh9x:~ # sudo bash setup-linux.sh -s 192.168.1.105 -p 5544 -f "/test2/testlog2.txt" -t TEST_LOG2
Your system $PATH does not include /sbin and /usr/sbin. This could be the result of installing GNOME rather than creating a clean system.
Adding /sbin and /usr/sbin to $PATH.
Found syslog-ng 2.0.9
Detected rsyslog 5.10.1
Detected rsyslog work directory /var/spool/rsyslog
Destination Log Server: 192.168.1.105:5544
Processing /test2/testlog2.txt file...
Creating /etc/rsyslog.d/90-nagioslogserver_test2_testlog2.txt.conf...
getenforce command not found, assuming SELinux is disabled.
It hangs here. 1 hour later it is still stuck. I ctrl+c and see the file /etc/rsyslog.d/90-nagioslogserver_test2_testlog2.txt.conf has been created. But log entries in "/test2/testlog2.txt" do not show up in NLS.
linux-fh9x:~ # netstat -ano | grep 5544
tcp 0 0 192.168.150.162:45329 192.168.1.105:5544 ESTABLISHED off (0.00/0/0)
linux-fh9x:~ # ps -A | grep rsyslogd
34538 ? 00:00:00 rsyslogd
linux-fh9x:~ # rsyslogd -N1
rsyslogd: version 5.10.1, config validation run (level 1), master config /etc/rsyslog.conf
Hangs here too.
I have tested the same NLS setup commands on SUSE 12 SP2, Ubuntu 16 and CentOS 7 and the commands complete successfully. Log entries in "/test2/testlog2.txt" on SUSE 12 SP2, Ubuntu 16 and CentOS 7 show up in NLS. These systems have rsyslogd 8.x.
I have compared the /etc/rsyslog.d/90-nagioslogserver_test2_testlog2.txt.conf files on SUSE 11 with those on SUSE 12 SP2, Ubuntu 16 and CentOS 7 but see no differences.
I have built another SUSE 11 SP4 VM and have the same results.
Are there NLS setup-linux.sh issues with the "Linux Files Setup" options, SUSE 11 SP4 and rsyslogd 5.10.1?
Please let me know what additional information I can provide.
Thank you.
I am evaluating Nagios Log Server 1.4.3 (nagioslogserver-1.4.3-64.ova). I have a test SUSE version 11.4.16 host (linux-fh9x) with rsyslogd 5.10.1 that I want to send application log entries to Nagios Log Server (NLS). I run the following commands with the results below.
1) linux-fh9x:~ # curl -s -O http://192.168.1.105/nagioslogserver/sc ... p-linux.sh
2) linux-fh9x:~ # sudo bash setup-linux.sh -s 192.168.1.105 -p 5544 -f "/test2/testlog2.txt" -t TEST_LOG2
Your system $PATH does not include /sbin and /usr/sbin. This could be the result of installing GNOME rather than creating a clean system.
Adding /sbin and /usr/sbin to $PATH.
Found syslog-ng 2.0.9
Detected rsyslog 5.10.1
Detected rsyslog work directory /var/spool/rsyslog
Destination Log Server: 192.168.1.105:5544
Processing /test2/testlog2.txt file...
Creating /etc/rsyslog.d/90-nagioslogserver_test2_testlog2.txt.conf...
getenforce command not found, assuming SELinux is disabled.
It hangs here. 1 hour later it is still stuck. I ctrl+c and see the file /etc/rsyslog.d/90-nagioslogserver_test2_testlog2.txt.conf has been created. But log entries in "/test2/testlog2.txt" do not show up in NLS.
linux-fh9x:~ # netstat -ano | grep 5544
tcp 0 0 192.168.150.162:45329 192.168.1.105:5544 ESTABLISHED off (0.00/0/0)
linux-fh9x:~ # ps -A | grep rsyslogd
34538 ? 00:00:00 rsyslogd
linux-fh9x:~ # rsyslogd -N1
rsyslogd: version 5.10.1, config validation run (level 1), master config /etc/rsyslog.conf
Hangs here too.
I have tested the same NLS setup commands on SUSE 12 SP2, Ubuntu 16 and CentOS 7 and the commands complete successfully. Log entries in "/test2/testlog2.txt" on SUSE 12 SP2, Ubuntu 16 and CentOS 7 show up in NLS. These systems have rsyslogd 8.x.
I have compared the /etc/rsyslog.d/90-nagioslogserver_test2_testlog2.txt.conf files on SUSE 11 with those on SUSE 12 SP2, Ubuntu 16 and CentOS 7 but see no differences.
I have built another SUSE 11 SP4 VM and have the same results.
Are there NLS setup-linux.sh issues with the "Linux Files Setup" options, SUSE 11 SP4 and rsyslogd 5.10.1?
Please let me know what additional information I can provide.
Thank you.