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
The requested URL /nagios3/< was not found on this server.
-
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
Looks like php is not installed on the server.
Code: Select all
apt-get install php
systemctl restart apache2Re: The requested URL /nagios3/< was not found on this serve
After installing php it looks like this


-
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
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
https://support.nagios.com/kb/article/n ... tml#Ubuntu
Re: The requested URL /nagios3/< was not found on this serve
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
glad to hear it is resolved!paul156 wrote:I followed some of the instructions and it works now, thanks a lot.
Locking thread