Nagios Web Interface is not working

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

Nagios Web Interface is not working

Postby Lavanya Andluru » Fri Jun 04, 2021 7:06 am

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
nagios2.png
http://ip-address/nagios/trends.html shows web page of html file
nagios1.png
http://ip-address/nagios/index.php shows "file not found"
nagios1.png (6.68 KiB) Viewed 175 times
nagios.png
nagios web interface http://ip-address/nagios shos "file not found"
nagios.png (7.56 KiB) Viewed 175 times
Lavanya Andluru
 
Posts: 1
Joined: Fri Jun 04, 2021 6:37 am

Re: Nagios Web Interface is not working

Postby benjaminsmith » Fri Jun 04, 2021 9:44 am

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!
User avatar
benjaminsmith
 
Posts: 4837
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul


Return to Community Support

Who is online

Users browsing this forum: No registered users and 37 guests