/var/log/messages logging?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Bitflogger
Posts: 226
Joined: Mon Oct 16, 2017 9:24 am

/var/log/messages logging?

Post by Bitflogger »

Hi,

On my server the System Administrator watches the /var/log/messages file for almost any entry. I looks like NagisoXI is putting a lot of items into that file. Can that logging be stopped or shunted to a non-system log?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: /var/log/messages logging?

Post by mcapra »

The "correct" way to route the log traffic elsewhere (on CentOS 7 anyway) would be an rsyslog configuration rule:
https://www.rsyslog.com/doc/v7-stable/c ... index.html

Double check your rsyslog version though. I've linked the v7 documentation.
Former Nagios employee
https://www.mcapra.com/
Bitflogger
Posts: 226
Joined: Mon Oct 16, 2017 9:24 am

Re: /var/log/messages logging?

Post by Bitflogger »

Thanks! Please close request.
Locked