Page 1 of 1

Add Linux source - RHEL 5 using standard ksyslogd

Posted: Wed Mar 27, 2019 1:33 pm
by uma K
Hi Team,
I am trying to add linux source to my Nagios Log server.
My Linux source is RHEL 5 using standard ksyslogd and not rsyslog.
Could you help me with the instructions to configure? Does it follow the same rsyslog pattern?

etc/init.d/syslog status
syslogd (pid 3297) is running...
klogd (pid 3300) is running...

rpm -qf /sbin/syslogd
sysklogd-1.4.1-46.el5.x86_64

Re: Add Linux source - RHEL 5 using standard ksyslogd

Posted: Wed Mar 27, 2019 3:35 pm
by npolovenko
Hello, @uma K. I don't have a server with ksyslogd in the lab but from my research, it should be compatible with rsyslog. On the Log server Home page, you can follow instructions to add a Linux server. Let us know how it goes.

Re: Add Linux source - RHEL 5 using standard ksyslogd

Posted: Wed Mar 27, 2019 6:40 pm
by uma K
Got below exception,

ERROR: No syslog service found.

When trying to run
sudo bash setup-linux.sh -s xxxxxxxxxxx -p 5544

Re: Add Linux source - RHEL 5 using standard ksyslogd

Posted: Thu Mar 28, 2019 2:59 pm
by npolovenko
@uma K, I ran the script on my system and generated an rsyslog config file that I attached to this message. You can change the IP address in the config from 192.168.3.3 to your Log Server IP address and then place the config file in the /etc/ksyslog.d/ folder. Let me know if that works for you.