Page 1 of 1

Cannot Save Global Configuration Changes in Web UI

Posted: Wed Feb 04, 2015 6:24 pm
by svadmin
My NLS setup (version 2015R1.0) had been running fine for while until I was not able to save any new global configuration changes and restart logstash service -- Logstash inputs and filters changes were not being saved to the "/usr/local/nagioslogserver/logstash/etc/conf.d" directory.

Any assistance with this issue is greatly appreciated.

Thanks!

-svadmin

Re: Cannot Save Global Configuration Changes in Web UI

Posted: Thu Feb 05, 2015 9:05 am
by scottwilkerson
Can you post the following permissions

Code: Select all

ls -la/usr/local/nagioslogserver/logstash/etc/conf.d
ls -la /usr/local/nagioslogserver/logstash/
Also, can you post the output of the following commands

Code: Select all

getenforce
cat /etc/group|grep apache

Re: Cannot Save Global Configuration Changes in Web UI

Posted: Thu Feb 05, 2015 2:25 pm
by svadmin
Here are the outputs:

[****@ops-syslogger ~]# ls -la /usr/local/nagioslogserver/logstash/etc/conf.d
total 20
drwxrwxr-x. 2 nagios nagios 4096 Feb 4 12:57 .
drwxrwxr-x. 3 nagios nagios 4096 Feb 4 12:52 ..
-rwxrwxr-x 1 nagios nagios 869 Feb 4 14:03 000_inputs.conf
-rwxrwxr-x 1 nagios nagios 2081 Feb 4 14:03 500_filters.conf
-rwxrwxr-x 1 nagios nagios 493 Feb 4 14:03 999_outputs.conf

[****@ops-syslogger ~]# ls -la /usr/local/nagioslogserver/logstash/
total 44
drwxrwxr-x. 9 nagios nagios 4096 Nov 12 19:08 .
drwxrwxr-x. 10 nagios nagios 4096 Feb 4 14:03 ..
drwxrwxr-x. 2 nagios nagios 4096 Nov 12 19:08 bin
drwxrwxr-x. 3 nagios nagios 4096 Feb 4 12:52 etc
drwxrwxr-x. 3 nagios nagios 4096 Nov 12 19:08 lib
-rwxrwxr-x. 1 nagios nagios 591 Nov 12 19:08 LICENSE
drwxrwxr-x. 2 nagios nagios 4096 Nov 12 19:08 locales
drwxrwxr-x. 2 nagios nagios 4096 Nov 12 19:08 patterns
-rwxrwxr-x. 1 nagios nagios 3450 Nov 12 19:08 README.md
drwxrwxr-x. 10 nagios nagios 4096 Nov 12 19:08 spec
drwxrwxr-x. 8 nagios nagios 4096 Nov 12 19:08 vendor

[****@ops-syslogger ~]# getenforce
Disabled

[****@ops-syslogger ~]# cat /etc/group|grep apache
apache:x:48:nagios
nagios:x:502:nagios,apache

Thanks,
-svadmin

Re: Cannot Save Global Configuration Changes in Web UI

Posted: Mon Feb 09, 2015 1:02 pm
by lmiltchev
The permissions look correct. Do you get any errors when you click on "Verify" under the "Global Configuration" page? Run the following commands and show us the output in code wraps:

Code: Select all

tail -50 /var/log/httpd/error_log

Re: Cannot Save Global Configuration Changes in Web UI

Posted: Mon Feb 09, 2015 5:27 pm
by svadmin
I have resolved my issue by using the multiline code as part of my input instead of as a filter since worker threads and multiline are not supported.

Thanks for your help!

--svadmin