Consolidate nagios.log and other nagios subsystem logs to syslog or journalctl
Posted: Tue Nov 05, 2024 11:34 am
I posted this on 11/1, but my post is gone today. So I'll re-post. I have counted thirty (30) different logs for nagiosxi and its subcomponents scattered in various /usr/local/ directories and elsewhere. I haven't counted the mysql database log file(s) yet. Further, some logs have conventional date/time stamps, some use epoch time stamps and some have no date/time stamp at all. This is a lot of different logs that have to be searched for troubleshooting Nagios XI issues. The lack of a uniform timestamp makes the task that much more difficult.
Is there a way to send all nagios files to syslog or journalctl so that there is one place to search for nagios events and have a uniform time stamp? I've searched Nagios documentation, find nothing thus far. Thanks.
Is there a way to send all nagios files to syslog or journalctl so that there is one place to search for nagios events and have a uniform time stamp? I've searched Nagios documentation, find nothing thus far. Thanks.