Page 1 of 1
NAgioslogserver Rsyslog
Posted: Fri Dec 08, 2017 9:17 am
by saleemthupsee
Hello,
I added linux files from nagiosxi to nagioslogserver. Is there a way to remove any unwanted syslog from nagiosxi to be sent to nagioslogserver. I used the script from nagioslogserver to perform the installation.
REgards,
Saleem
Paris
Re: NAgioslogserver Rsyslog
Posted: Fri Dec 08, 2017 9:50 am
by vAJ
Sounds like you also setup your default syslog messages to route to NLS as well.
Check the contents of /etc/rsyslog.d/
You should see entries for each file that has been configured, as well as the default syslog forwarding:
Code: Select all
[anjohnson@brnxip01 ~]$ ls -l /etc/rsyslog.d/
total 36
-rw-r--r-- 1 root root 747 Jan 23 2017 90-nagioslogserver_usr_local_nagios_var_nagios.log.conf
-rw-r--r-- 1 root root 735 Jan 23 2017 90-nagioslogserver_usr_local_nagios_var_npcd.log.conf
-rw-r--r-- 1 root root 783 Jan 23 2017 90-nagioslogserver_usr_local_nagios_var_perfdata.log.conf
-rw-r--r-- 1 root root 787 Jan 23 2017 90-nagioslogserver_usr_local_nagiosxi_var_perfdataproc.log.conf
-rw-r--r-- 1 root root 749 Jan 25 2017 90-nagioslogserver_var_log_httpd_access_log.conf
-rw-r--r-- 1 root root 743 Jan 25 2017 90-nagioslogserver_var_log_httpd_error_log.conf
-rw-r--r-- 1 root root 773 Jan 25 2017 90-nagioslogserver_var_log_httpd_ssl_access_log.conf
-rw-r--r-- 1 root root 906 Jan 23 2017 99-nagioslogserver.conf
In my case, the 99-nagioslogserver.conf file is the default. If you don't want that, you can remove that file and restart rsyslog or just comment out the lines in the file and leave it.
Re: NAgioslogserver Rsyslog
Posted: Fri Dec 08, 2017 11:41 am
by kyang
Thanks
@vAJ!
saleemthupsee, Let us know if you have any more questions.