log server forwarding to Nagios-Log-Server?
Posted: Fri Oct 31, 2014 1:51 pm
Hello!
I already have a log server setup which receives all my hosts' logs either via syslog or rsyslog. These go into the /var/log/HOSTS directory (each to their own subdirectory). With splunk, I configure the splunk-forwarder to forward the /var/log/HOSTS directory to the splunk server/indexer and all is well. It appears that with the Nagios-log-server I need to run the setup-linux.sh script for each file, and give it a FILE_TAG. Is this the case? Can it not be configured to forward a directory recursively (e.g. /var/log/HOSTS/*)?
Rob McKennon
I already have a log server setup which receives all my hosts' logs either via syslog or rsyslog. These go into the /var/log/HOSTS directory (each to their own subdirectory). With splunk, I configure the splunk-forwarder to forward the /var/log/HOSTS directory to the splunk server/indexer and all is well. It appears that with the Nagios-log-server I need to run the setup-linux.sh script for each file, and give it a FILE_TAG. Is this the case? Can it not be configured to forward a directory recursively (e.g. /var/log/HOSTS/*)?
Rob McKennon