localhost/nagios 404 not found

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.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: localhost/nagios 404 not found

Post by Box293 »

Box293 wrote:Here is a detailed guide to install core on Ubuntu 14.04.

http://sites.box293.com/nagios/guides/i ... untu-14-04
In this guide it uses this command which takes into account the correct directory.

Code: Select all

./configure --with-nagios-group=nagios --with-command-group=nagcmd --with-mail=/usr/bin/sendmail --with-httpd-conf=/etc/apache2/sites-enabled 
/etc/apache2/sites-enabled or /etc/apache2/conf-available are both valid from what I understand.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: localhost/nagios 404 not found

Post by abrist »

This is a know issue. You need to use the configure option "--with-httpd-conf" as specified by Troy.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
ziedmahjoub
Posts: 142
Joined: Fri Jan 16, 2015 5:22 am

Re: localhost/nagios 404 not found

Post by ziedmahjoub »

Thanks a lot
ziedmahjoub
Posts: 142
Joined: Fri Jan 16, 2015 5:22 am

Re: localhost/nagios 404 not found

Post by ziedmahjoub »

so if i wanna now change the HTTPD_CONF i go to the nagios-4.0.8/Makefile and edit the Makefile by changing :

HTTPD_CONF=/etc/httpd/conf.d to HTTPD_CONF=/etc/apache2/conf-available

Is this right ?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: localhost/nagios 404 not found

Post by abrist »

yeah, but the "proper" way is to use the configure switch (--with-httpd-conf) as specified by Troy:

Code: Select all

./configure --with-nagios-group=nagios --with-command-group=nagcmd --with-mail=/usr/bin/sendmail --with-httpd-conf=/etc/apache2/sites-enabled 
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
ziedmahjoub
Posts: 142
Joined: Fri Jan 16, 2015 5:22 am

Re: localhost/nagios 404 not found

Post by ziedmahjoub »

ok thanks all guys , problem solved : )))
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: localhost/nagios 404 not found

Post by cmerchant »

We'll go ahead and close the thread. Thanks.
Locked