Hello,
hoping someone can help me solve this nagging problem... https://<myfqdn>/nagios/index.php displays a blank page.
Looking at the dev tools in Chrome, I can see that it's a page made up of 2 frames... side.php and main.php. Both of these pages do load correctly... that is https://<myfqdn>/nagios/side.php and https://<myfqdn>/nagios/main.php load correctly.
But index.php shows up as blank.
As recommended here: https://support.nagios.com/kb/article.php?id=132 I've changed the memory setting, but that made no difference.
any ideas on how I can get this index.php page to work correctly?
index.php is blank
Re: index.php is blank
That KB document is actually intended for Nagios Log Server; A completely separate product with it's own quirks.
What operating system is being used?
Did you follow any particular documentation when installing Nagios Core on this machine? Is this a package-based installation?
Can you attempt to access the pages again, then after that action, can you share a copy of the Apache logs from this machine? Both the access and error logs preferably.
What operating system is being used?
Did you follow any particular documentation when installing Nagios Core on this machine? Is this a package-based installation?
Can you attempt to access the pages again, then after that action, can you share a copy of the Apache logs from this machine? Both the access and error logs preferably.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: index.php is blank
Here's the Apache access log:
x.x.x.x - nagiosadmin [21/Mar/2018:09:59:17 -0400] "GET /nagios/main.php HTTP/1.1" 200 3613 "https://<myfqdn>/nagios/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.162 Safari/537.36"
There are no errors in the Apache log related to this ^ request
I've installed Nagios core on Ubuntu, following the instructions here: https://support.nagios.com/kb/article/n ... tml#Ubuntu
So it seems as if something is wrong with the index.php page itself, as both the side.php and main.php pages will load correctly when accessed directly. Side.php and main.php are referenced inside frames in the index.php page.
x.x.x.x - nagiosadmin [21/Mar/2018:09:59:17 -0400] "GET /nagios/main.php HTTP/1.1" 200 3613 "https://<myfqdn>/nagios/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.162 Safari/537.36"
There are no errors in the Apache log related to this ^ request
I've installed Nagios core on Ubuntu, following the instructions here: https://support.nagios.com/kb/article/n ... tml#Ubuntu
So it seems as if something is wrong with the index.php page itself, as both the side.php and main.php pages will load correctly when accessed directly. Side.php and main.php are referenced inside frames in the index.php page.
Re: index.php is blank
I was able to fix this by adding the following directive in the apache conf file:
Header always append X-Frame-Options SAMEORIGIN
Header always append X-Frame-Options SAMEORIGIN
Re: index.php is blank
Sounds like you figured out the issue?
Are we okay to close this thread or did you have any more questions on this?
Are we okay to close this thread or did you have any more questions on this?
Re: index.php is blank
yes, please close this. thanks!
Re: index.php is blank
Sounds good!
Thanks for using the Nagios Support Forums!
Feel free to create a new thread if you have any more issues.
Have a great day!
Thanks for using the Nagios Support Forums!
Feel free to create a new thread if you have any more issues.
Have a great day!