NagiosLog : "The Configuration Could not be verified" error
Have added a new Inputs, and able to verify fine. but when applied configuration, received the error that "The Configuration Could not be verified" .
Able to see the inputs in the "View Inputs" via GUI but the actual config file in the server /usr/local/nagioslogserver/logstash/etc/conf.d/000_inputs.conf is NOT updated.
New Input entry added is as below ( was trying to test https://assets.nagios.com/downloads/nag ... Inputs.pdf)
file {
type => 'testing'
path => '/tmp/test.log'
}
Already checked the link https://support.nagios.com/forum/viewto ... d+#p244767 but still have same issue.
NagiosLog : "The Configuration Could not be verified" error
-
- Posts: 151
- Joined: Thu Apr 09, 2015 9:14 pm
NagiosLog : "The Configuration Could not be verified" error
You do not have the required permissions to view the files attached to this post.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NagiosLog : "The Configuration Could not be verified" er
Can you share the results of the following command
Code: Select all
ls -al /usr/local/nagioslogserver/logstash/etc/conf.d/
-
- Posts: 151
- Joined: Thu Apr 09, 2015 9:14 pm
Re: NagiosLog : "The Configuration Could not be verified" er
Hi, please see the requested o/p and the screenshot from "View - Input File" which shows the config is updated but from the actual cmd line shows its NOT updated and the "Apply Configaration" suspected to be not success.
I have tried writing into the /tmp/test.log, it doesn't appear in the NagiosLog events as well.
[root@centos005v7 ~]# ls -al /usr/local/nagioslogserver/logstash/etc/conf.d/
total 12
drwxrwxr-x. 2 nagios nagios 77 Jul 27 09:53 .
drwxrwxr-x. 3 nagios nagios 20 Jul 27 09:21 ..
-rw-rw-r--. 1 apache apache 592 Jul 27 09:53 000_inputs.conf
-rw-rw-r--. 1 apache apache 987 Jul 27 09:53 500_filters.conf
-rw-rw-r--. 1 apache apache 390 Jul 27 09:53 999_outputs.conf
[root@centos005v7 ~]#
[root@centos005v7 ~]# date
Mon 30 Jul 17:21:00 SGT 2018
[root@centos005v7 ~]#
I have tried writing into the /tmp/test.log, it doesn't appear in the NagiosLog events as well.
[root@centos005v7 ~]# ls -al /usr/local/nagioslogserver/logstash/etc/conf.d/
total 12
drwxrwxr-x. 2 nagios nagios 77 Jul 27 09:53 .
drwxrwxr-x. 3 nagios nagios 20 Jul 27 09:21 ..
-rw-rw-r--. 1 apache apache 592 Jul 27 09:53 000_inputs.conf
-rw-rw-r--. 1 apache apache 987 Jul 27 09:53 500_filters.conf
-rw-rw-r--. 1 apache apache 390 Jul 27 09:53 999_outputs.conf
[root@centos005v7 ~]#
[root@centos005v7 ~]# date
Mon 30 Jul 17:21:00 SGT 2018
[root@centos005v7 ~]#
You do not have the required permissions to view the files attached to this post.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NagiosLog : "The Configuration Could not be verified" er
Please change the following permissions
Try again.
Also if you continue to have issues, can you send the results of the following
Thanks
Code: Select all
chown nagios.nagios /usr/local/nagioslogserver/logstash/etc/conf.d/*
Also if you continue to have issues, can you send the results of the following
Code: Select all
grep nag /etc/group