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

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
paul156
Posts: 3
Joined: Wed Aug 29, 2018 3:32 am

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

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post by scottwilkerson »

Looks like php is not installed on the server.

Code: Select all

apt-get install php
systemctl restart apache2
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
paul156
Posts: 3
Joined: Wed Aug 29, 2018 3:32 am

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

Post by paul156 »

After installing php it looks like this

Image
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
paul156
Posts: 3
Joined: Wed Aug 29, 2018 3:32 am

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

Post by paul156 »

I followed some of the instructions and it works now, thanks a lot.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked