Nagios services configuration from Web UI.

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios services configuration from Web UI.

Post by rkennedy »

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
martinQL
Posts: 10
Joined: Wed Apr 25, 2018 4:22 am

Re: Nagios services configuration from Web UI.

Post by martinQL »

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

Re: Nagios services configuration from Web UI.

Post by scottwilkerson »

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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked