One of our developers came to me and said that one of his jobs broke because he scans the /var/log/maillog for entries of incoming emails.
A quick glance at log server showed that NLS is shipping all the logs to the server instead of to the local logs defined in rsyslog.conf.
Is there a way to either exclude maillogs from NLS or, more preferably, have them ship to NLS and store locally?
Thanks!
retaining local maillog with nagios log server
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: retaining local maillog with nagios log server
do you have a file called /etc/rsyslog.d/90-nagioslogserver_var_log_maillog.conf on that server?
If so could you share its contents obfuscating any sensitive info?
If so could you share its contents obfuscating any sensitive info?