Added a filter, tried to verify configuration, but getting this
Error: No config files found: /usr/local/nagioslogserver/tmp54cfcc917ec09
Can you make sure this path is a logstash config file?
Removed the filter, still the same problem
These are my logstash configs
/usr/local/nagioslogserver/logstash/etc/conf.d
[root@nlsserver conf.d]# ls -al
total 20
drwxrwxr-x 2 nagios nagios 4096 Jan 19 23:23 .
drwxrwxr-x 3 nagios nagios 4096 Nov 20 16:53 ..
-rw-rw-r-- 1 apache apache 654 Jan 5 11:43 000_inputs.conf
-rw-rw-r-- 1 apache apache 1362 Jan 5 11:43 500_filters.conf
-rw-rw-r-- 1 apache apache 493 Jan 5 11:43 999_outputs.conf
Error in the configuration file
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Error in the configuration file
What version of Log Server are you running?
Also, can you post the following permissions
Also, can you post the following permissions
Code: Select all
ls -al /usr/local/nagioslogserver
ls -al /usr/local/nagioslogserver/tmpRe: Error in the configuration file
Version 2015R1.1scottwilkerson wrote:What version of Log Server are you running?
Also, can you post the following permissionsCode: Select all
ls -al /usr/local/nagioslogserver ls -al /usr/local/nagioslogserver/tmp
[root@nlsserver nagioslogserver]# ls -al /usr/local/nagioslogserver/
total 44
drwxr-xr-x 11 root root 4096 Jan 7 14:27 .
drwxr-xr-x. 13 root root 4096 Oct 10 16:03 ..
drwxrwxr-x 8 nagios nagios 4096 Jan 23 13:51 elasticsearch
drwxrwxr-x 2 nagios nagios 4096 Nov 20 16:53 etc
drwxr-xr-x 9 nagios nagios 4096 Nov 20 16:53 logstash
drwxrwxr-x 2 nagios nagios 4096 Nov 20 16:53 mibs
drwxrwxr-x 2 nagios nagios 4096 Jan 30 11:18 scripts
drwxrwxr-x 2 nagios nagios 4096 Jan 29 11:24 snapshots
drwxrwxr-x 3 nagios nagios 4096 Jan 29 11:24 tmp
drwxrwxr-x 2 nagios nagios 4096 Jan 23 21:57 var
[root@nlsserver nagioslogserver]# ls -al /usr/local/nagioslogserver/tmp/
total 300
drwxrwxr-x 3 nagios nagios 4096 Jan 29 11:24 .
drwxr-xr-x 11 root root 4096 Jan 7 14:27 ..
drwxr-xr-x 2 nagios nagios 4096 Nov 20 16:53 elasticsearch
-rw-r--r-- 1 nagios users 90382 Jan 14 15:06 jffi3327471933255384937.tmp
-rw-r--r-- 1 nagios users 90382 Jan 7 13:57 jffi4376335457961962924.tmp
-rw-r--r-- 1 nagios users 90382 Jan 28 16:09 jffi8967223301388317150.tmp
Re: Error in the configuration file
One of my cluster nodes had a wrong ownership of the folder, that was the issue. Now it's working. You may close this thread.