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
NAgioslogserver Rsyslog
-
saleemthupsee
- Posts: 107
- Joined: Wed Feb 15, 2017 4:22 am
- Location: Paris France
- Contact:
NAgioslogserver Rsyslog
Saleem THUPSEE
Re: NAgioslogserver Rsyslog
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:
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.
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
Andrew J. - Do you even grok?