Hey everyone,
I am looking for a way to have Nagios gather certain log files instead of just "system" logs it thinks are important.
Is there a setting somewhere, maybe in the "rsyslog.conf"?
I want to be able to gather logs for applications as well, such as
NextCloud
apache2 (without using the special addon)
Redis
RabbitMQ
Is this something Nagios can do?
Can I tell Nagios to gather all logs from /var/log/*?
Thanks
How to direct Nagios to gather certain log files
-
- Posts: 8
- Joined: Thu May 09, 2019 11:40 am
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: How to direct Nagios to gather certain log files
There are instructions in Log Server of you go to "Add Log Source" then in the "File Monitoring" section
-
- Posts: 8
- Joined: Thu May 09, 2019 11:40 am
Re: How to direct Nagios to gather certain log files
Thanks for that,
When I go through that process, I am presented with a new error, any Idea why I might be getting this?
Thanks
When I go through that process, I am presented with a new error, any Idea why I might be getting this?
Thanks
You do not have the required permissions to view the files attached to this post.
Re: How to direct Nagios to gather certain log files
Run the command "rsyslogd -N 1" to get some details about why it may fail. Please provide a copy of the rsyslog.conf and 90-nagioslogserver_mnt_data_nextcloud.log.conf if you're unable to resolve with the help of the output.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.