Page 1 of 1

The requested URL /nagios3/< was not found on this server.

Posted: Wed Aug 29, 2018 4:29 am
by paul156
Hello everybody

I am trying to make the nagios web interface to be accesed remotely. So far I managed to forward the page and get to login page but the page itsfel doesn't load properly.

It seems that somewhere I've missed something and I can't figure out what. I'll post exactly what I configured so far:

I'm using a virtual machine that has Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-33-generic x86_64)

> allowed traffic for http: sfw http allow
>installed apache2: apt-get install apache2
>installed nagios3: apt-get install nagios3

I copied the content from /etc/nagios3/apache2.conf and added to /etc/apache2/apache2.conf
restarted nagios and apache services

So apache is working when I enter http://mymachineip -> https://scontent-otp1-1.xx.fbcdn.net/v/ ... e=5C3578F5

Nagios also seems to be running ok, when i enter http://mymachineip/nagios3 -> https://scontent-otp1-1.xx.fbcdn.net/v/ ... e=5BF4F13A

After login this is what I get -> https://scontent-otp1-1.xx.fbcdn.net/v/ ... e=5BEFC6B2

Anyone has any suggestions on how to fix? Thanks

Re: The requested URL /nagios3/< was not found on this serve

Posted: Wed Aug 29, 2018 7:12 am
by scottwilkerson
Looks like php is not installed on the server.

Code: Select all

apt-get install php
systemctl restart apache2

Re: The requested URL /nagios3/< was not found on this serve

Posted: Wed Aug 29, 2018 7:18 am
by paul156
After installing php it looks like this

Image

Re: The requested URL /nagios3/< was not found on this serve

Posted: Wed Aug 29, 2018 7:26 am
by scottwilkerson
you likely need to refresh the cache and re-load the page, however you still could be missing packages, make sure you have all of the required packages listed here

https://support.nagios.com/kb/article/n ... tml#Ubuntu

Re: The requested URL /nagios3/< was not found on this serve

Posted: Wed Aug 29, 2018 9:26 am
by paul156
I followed some of the instructions and it works now, thanks a lot.

Re: The requested URL /nagios3/< was not found on this serve

Posted: Wed Aug 29, 2018 9:56 am
by scottwilkerson
paul156 wrote:I followed some of the instructions and it works now, thanks a lot.
glad to hear it is resolved!

Locking thread