retaining local maillog with nagios log server
Posted: Wed Mar 06, 2019 1:27 pm
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!
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!