Page 1 of 1

Install PHP page won't finish or let me advance

Posted: Mon Apr 06, 2020 3:08 pm
by JasonW
Hi! Just installed on a fresh Cent 7 machine, full install went fine no errors. went to https://my-dns/nagiosxi and got the first initial page which asked me to click on "Access NagiosXI" to continue. Next page doesn't seem to render properly or let me click on the "Finish Install" button no matter what I do. I've attached a screen shot.

The Access Nagios page renders properly, it's the next page:
https://my-dns/nagiosxi/install.php which does not seem to render properly.

I should add, tried 3 browsers, no plugins, history/cookies on and currently running php 5.4.16
following the instructions here:
https://support.nagios.com/kb/article/n ... 7-860.html
I upgraded to php 7.2.29 still the exact same issue :(

Thanks for any help!
screenshot.png

Re: Install PHP page won't finish or let me advance

Posted: Mon Apr 06, 2020 4:04 pm
by scottwilkerson
When you first setup the server you should not use the https address, just http because you need to set the program URL once setup
Use http://my-dns/nagiosxi
Once setup you can put the https address in
Admin -> System Settings -> Program URL

https://assets.nagios.com/downloads/nag ... s%20XI.pdf

Re: Install PHP page won't finish or let me advance

Posted: Tue Apr 07, 2020 8:43 am
by JasonW
ok so I built this in AWS and it is sitting behind an application load balancer that was redirecting 443 to 80 (doing the ssl offloading). When I removed the ssl offloading, so just passing 80 to 80, it worked fine, everything looks good.

Going forward, is there documentation somewhere about working with NagiosXi behind a load balancer, where the LB is handling the ssl offloading? The cert is of course installed with AWS at the LB level, nothing is done at the Nagios/OS level.

Thanks for your help!

Re: Install PHP page won't finish or let me advance

Posted: Tue Apr 07, 2020 9:38 am
by scottwilkerson
JasonW wrote:ok so I built this in AWS and it is sitting behind an application load balancer that was redirecting 443 to 80 (doing the ssl offloading). When I removed the ssl offloading, so just passing 80 to 80, it worked fine, everything looks good.
glad you got it working
JasonW wrote:Going forward, is there documentation somewhere about working with NagiosXi behind a load balancer, where the LB is handling the ssl offloading? The cert is of course installed with AWS at the LB level, nothing is done at the Nagios/OS level.
We don't have any documentation for this specific case, the problem you were having was that until you setup the program URL, it would try to load the javascript/css/image files with a different URL that your browser won't allow access to.