retaining local maillog with nagios log server

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
TexasSTX
Posts: 6
Joined: Mon Jan 07, 2019 12:44 pm

retaining local maillog with nagios log server

Post by TexasSTX »

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!
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

Post by scottwilkerson »

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?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked