Nagios services configuration from Web UI.

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Re: Nagios services configuration from Web UI.

Postby rkennedy » Tue May 15, 2018 3:03 am

Ravikimt wrote:Still I am facing same issue


Please share the files @scottwilkerson mentioned.

scottwilkerson wrote:Can you share your full httpd conf file for nagiosql because before you also had this in there that would block access
Code: Select all
Order deny,allow
Deny from all
Allow from 127.0.0.1


Also, when you trigger the request on the forbidden error - look at your apache logs as there should be an error related to it which may have a further reason.
Former Nagios Employee
rkennedy
 
Posts: 6576
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios services configuration from Web UI.

Postby martinQL » Tue May 15, 2018 3:46 am

You currently have no problem with NagiosQL - you are not able to correctly configure your Apache webserver.

The Apache webserver may not be able to read the web files because the permissions are set incorrectly and the Apache user has no access.
https://wiki.apache.org/httpd/FileSystemPermissions
(https://en.wikipedia.org/wiki/File_system_permissions)

Which version of Apache do you use - 2.2 or 2.4. Here is some documentation for both versions - the access configuration are different!
Apache 2.2:
https://httpd.apache.org/docs/2.2/en/
https://httpd.apache.org/docs/2.2/howto/access.html

Apache 2.4:
https://httpd.apache.org/docs/2.4/en/
https://httpd.apache.org/docs/2.4/howto/access.html
martinQL
 
Posts: 9
Joined: Wed Apr 25, 2018 4:22 am

Re: Nagios services configuration from Web UI.

Postby scottwilkerson » Tue May 15, 2018 8:06 am

scottwilkerson wrote:Can you share your full httpd conf file for nagiosql because before you also had this in there that would block access
Code: Select all
Order deny,allow
Deny from all
Allow from 127.0.0.1


I really need to see the above to be any assistance
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
CTO
 
Posts: 9157
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Previous

Return to Nagios Core

Who is online

Users browsing this forum: Google [Bot] and 17 guests