Page 1 of 1

Can not open / overwrite the configuration file (check the p

Posted: Thu Feb 04, 2016 12:10 am
by P3_25
Hello.

Sorry in clumsy English.

From the predecessor of took over the Nagios and NagiosQL
Please tell me because I do not know at all.

To change the setting NagiosQL When you click the Do it of Write monitorring data
Can not open / overwrite the configuration file (check the permissions)! It will be displayed.

Perhaps I rights problems but not in trouble in any information retired predecessor is not.

Any file which authority do you may be given to.

By the way, the current authority
/ Usr / local / nagios / etc / hosts the group nagios [501] owner apache [48]
.cfg file under the hosts group is there is a thing of nagios [501] owner root [0] ones and the group of nagios [501] owner (apache [48]).

/ Usr / local / nagios / etc / hosts the group nagios [501] owner apache [48]
.cfg file under the hosts are and groups nagios [501] those of the owner root [0]
Group there is a thing of nagios [501] owner (apache [48]).

/ Usr / local / nagios / etc / services is the group nagios [501] owner apache [48]
.cfg file under the services group is there is a thing of nagios [501] owner root [0]
ones and the group of nagios [501] owner (apache [48]).

hostgroups.cfg and servicegroups.cfg and hosttemplates.cfg and servicetemplates.cfg the group nagios [501] owner apache [48]
It has become a.

We will let you check please.

Re: Can not open / overwrite the configuration file (check t

Posted: Thu Feb 04, 2016 12:50 pm
by rkennedy
What is the result of this command?

Code: Select all

ls -l /usr/local/nagios/etc/
ls -l /usr/local/nagios/etc/hosts/
ls -l /usr/local/nagios/etc/services/

Re: Can not open / overwrite the configuration file (check t

Posted: Thu Feb 04, 2016 11:40 pm
by P3_25
Hello.

It sends the result of executing the command .
Please check.

Re: Can not open / overwrite the configuration file (check t

Posted: Fri Feb 05, 2016 12:02 pm
by rkennedy
I don't think the permissions look right in these two folders -

Code: Select all

/usr/local/nagios/etc/hosts/
/usr/local/nagios/etc/services/
Can you try to correct the permissions? Judging from your environment, I think they need to be apache:nagios. (this is usually nagios:nagios)

Code: Select all

chown -R apache:nagios /usr/local/nagios/etc/hosts/
chown -R apache:nagios /usr/local/nagios/etc/services/

Re: Can not open / overwrite the configuration file (check t

Posted: Sun Feb 07, 2016 9:01 pm
by P3_25
Hello.

It is possible to change the access rights .
However , what it does not break the system by changing the access rights .
Specifications predecessor retired , it is anxious to implement because there are still any information such as the settings .

Please tell me the risks and workarounds so good in the

Re: Can not open / overwrite the configuration file (check t

Posted: Mon Feb 08, 2016 11:10 am
by rkennedy
Without taking a look at your system, and seeing exactly how things are setup - I cannot make a decision regarding this. It does seem that your system is modified.

With our standard Nagios Core install, this is how things operate though for permissions.

Re: Can not open / overwrite the configuration file (check t

Posted: Tue Feb 16, 2016 9:38 pm
by P3_25
Hello.

Message of change the access rights of the pointed out gotten place (Can not open / overwrite the configuration file (check t...) has confirmed that it will not be displayed .

Thank you for your response.

Re: Can not open / overwrite the configuration file (check t

Posted: Wed Feb 17, 2016 3:49 pm
by bwallace
Thanks for that update, does that mean this issue is resolved?

Re: Can not open / overwrite the configuration file (check t

Posted: Wed Feb 17, 2016 6:56 pm
by P3_25
Hello.

Okay.
Which means that this problem is resolved .

Thank you for your response.