Nagios Web Interface is not working

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.
Locked
Lavanya Andluru
Posts: 1
Joined: Fri Jun 04, 2021 6:37 am

Nagios Web Interface is not working

Post by Lavanya Andluru »

Hi
Nagios installed on centos 7 instance ,nagios is actively running in cli but in browser when i hit http://ip-address/nagios asking credentials then displaying "file not found".

http://ip-address/nagios/index.php or map.php and some php files only displaying "file not found"

http://ip-address/nagios/trends.html or infobox.html... files working in browser.

/usr/local/nagios/share folder having html files as well as php files. why .php files are not working??

could you please help to fix this problem.
Attachments
http://ip-address/nagios/trends.html shows web page of html file
http://ip-address/nagios/trends.html shows web page of html file
http://ip-address/nagios/index.php shows "file not found"
http://ip-address/nagios/index.php shows "file not found"
nagios1.png (6.68 KiB) Viewed 969 times
nagios web interface http://ip-address/nagios shos "file not found"
nagios web interface http://ip-address/nagios shos "file not found"
nagios.png (7.56 KiB) Viewed 969 times
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Nagios Web Interface is not working

Post by benjaminsmith »

Hi @Lavanya Andluru,

Welcome to the Nagios Community Forum. Here are few things to check to help resolve this error.

Is php installed in the server?

Code: Select all

php -v
Next check that those files exist with the correct permissions on index.php and map.php.

Code: Select all

ls -l /usr/local/nagios/share/map.php
Lastly, what instructions did you use to install Nagios Core. I highly recommend following our guide as we keep this up-to-date.
Nagios Core - Installing Nagios Core From Source

Let us know if you get it worked out.
--Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked