Hello Team,
for installation in prod server with the install script, Do we need to disable SElinux? please advice.
Thanks
Nagios LS installation
Re: Nagios LS installation
Hi
You shouldn't. but tell me what OS you are running and I can test it.
You may have to deal with SElinux if it affects the rsyslog service.
Thanks
You shouldn't. but tell me what OS you are running and I can test it.
You may have to deal with SElinux if it affects the rsyslog service.
Thanks
-
Techmnagioslsuser
- Posts: 39
- Joined: Fri Apr 02, 2021 1:17 am
Re: Nagios LS installation
It is RHEL 8.9
Thanks
Thanks
Re: Nagios LS installation
Hi
During install you may get:
(Note: If semanage is not found then: yum install policycoreutils-python)
If port 5544 is not listed you need to add it:
Verify it was added:
Thanks
During install you may get:
Run the following:==============================! WARNING !====================================
SELinux is enforcing. This may prevent rsyslog from forwarding messages.
If log messages do not reach Log Server from this host, ensure SELInux is
configured to allow rsyslog forwarding.
=============================================================================
Code: Select all
semanage port -l | grep syslogCode: Select all
[root@localhost ~]# semanage port -l | grep syslog
syslog_tls_port_t tcp 6514, 10514
syslog_tls_port_t udp 6514, 10514
syslogd_port_t tcp 601, 20514
syslogd_port_t udp 514, 601, 20514Code: Select all
semanage port -a -t syslogd_port_t -p tcp 5544
semanage port -a -t syslogd_port_t -p udp 5544Code: Select all
[root@localhost ~]# semanage port -l | grep syslog
syslog_tls_port_t tcp 6514, 10514
syslog_tls_port_t udp 6514, 10514
syslogd_port_t tcp 5544, 601, 20514
syslogd_port_t udp 5544, 514, 601, 20514
-
Techmnagioslsuser
- Posts: 39
- Joined: Fri Apr 02, 2021 1:17 am
Re: Nagios LS installation
Sure , will update the same steps
Thanks
Thanks