Cannot Save Global Configuration Changes in Web UI

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
svadmin
Posts: 3
Joined: Wed Feb 04, 2015 6:06 pm

Cannot Save Global Configuration Changes in Web UI

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Cannot Save Global Configuration Changes in Web UI

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
svadmin
Posts: 3
Joined: Wed Feb 04, 2015 6:06 pm

Re: Cannot Save Global Configuration Changes in Web UI

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Cannot Save Global Configuration Changes in Web UI

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
svadmin
Posts: 3
Joined: Wed Feb 04, 2015 6:06 pm

Re: Cannot Save Global Configuration Changes in Web UI

Post 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
Locked