LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-01-2010, 03:43 AM   #1
gutiojj
LQ Newbie
 
Registered: Feb 2010
Posts: 5

Rep: Reputation: 0
Question cannot find Nagios web interface (Nagios 3.2.0) and O/S = Fedora 10


Hi all,

I am new to this Linux forum !

I installed Nagios 3.2.0 on Linux server with O/S = Fedora 10.
I installed both Nagios and Apache service.
iptables service is stopped.

When I try to browse http://localhost/nagios (on Fedora 10 locally), the message of "The webpage cannot be found"

However, it can display the webpage successfully when I browse http://localhost

Thus, apache service seems work fine.

May you please help to give some advice on this case ?
Thanks very much !


Rgds,
Gutio
 
Old 02-01-2010, 06:16 AM   #2
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hi,

did you configure apache for nagios website?
 
Old 02-01-2010, 06:32 AM   #3
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707

Rep: Reputation: 55
This has been done ?

Configure the Web Interface

Install the Nagios web config file in the Apache conf.d directory.
Code:
make install-webconf
Create a nagiosadmin account for logging into the Nagios web interface. Remember the password you assign to this account - you'll need it later.
Code:
htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
Restart Apache to make the new settings take effect.
Code:
service httpd restart
 
Old 02-01-2010, 07:48 AM   #4
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hi,

how does httpd.conf look like?
 
Old 02-03-2010, 07:57 PM   #5
bittus
Member
 
Registered: Aug 2006
Posts: 153

Rep: Reputation: 16
I think you need to install nagios-plugins also.

BTW, I got nagios working successfully on a test box. But when I tried installing it in my servers, I ended up in an error. However nagios got installed and is working well. But the page is not coming up. So I understood that it is bcos I failed the installation of nagios-plugins. I am trying to install nagios-3.2 and nagios-plugins-1.4.11 on Red Hat Enterprise Linux WS release 3.
The installation of nagios-plugins, end up in the following:

Quote:
#make
make all-recursive
make[1]: Entering directory `/installs/nagios/nagios-plugins-1.4.11'
Making all in gl
make[2]: Entering directory `/installs/nagios/nagios-plugins-1.4.11/gl'
make all-am
make[3]: Entering directory `/installs/nagios/nagios-plugins-1.4.11/gl'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/installs/nagios/nagios-plugins-1.4.11/gl'
make[2]: Leaving directory `/installs/nagios/nagios-plugins-1.4.11/gl'
Making all in lib
make[2]: Entering directory `/installs/nagios/nagios-plugins-1.4.11/lib'
Making all in tests
make[3]: Entering directory `/installs/nagios/nagios-plugins-1.4.11/lib/tests'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/installs/nagios/nagios-plugins-1.4.11/lib/tests'
make[3]: Entering directory `/installs/nagios/nagios-plugins-1.4.11/lib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/installs/nagios/nagios-plugins-1.4.11/lib'
make[2]: Leaving directory `/installs/nagios/nagios-plugins-1.4.11/lib'
Making all in plugins
make[2]: Entering directory `/installs/nagios/nagios-plugins-1.4.11/plugins'
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -L/usr/local/ssl/lib -o check_http check_http.o sslutils.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto
gcc -g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o -L/installs/nagios/nagios-plugins-1.4.11/plugins -L/usr/local/ssl/lib ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x37): In function `dlfcn_load':
: undefined reference to `dlopen'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x98): In function `dlfcn_load':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xc0): In function `dlfcn_load':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x141): In function `dlfcn_bind_var':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x16c): In function `dlfcn_bind_var':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x229): In function `dlfcn_bind_func':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x254): In function `dlfcn_bind_func':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x512): In function `dlfcn_unload':
: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[2]: *** [check_http] Error 1
make[2]: Leaving directory `/installs/nagios/nagios-plugins-1.4.11/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/installs/nagios/nagios-plugins-1.4.11'
make: *** [all] Error 2
Is there a solution for this? Can anyone help me.
Thanks in advance.
 
Old 02-03-2010, 08:52 PM   #6
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
Dont want to go far away for solution, in nagios website there is a well documented pdf just follow their instruction
 
Old 02-04-2010, 12:43 AM   #7
bittus
Member
 
Registered: Aug 2006
Posts: 153

Rep: Reputation: 16
I agree that we got the documentation on site. But this is out of range of those documents. I followed the documentation to install the package. But I don't get any help regarding this error from the documentation.

Thanks
 
Old 02-04-2010, 08:55 AM   #8
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
Hmmm, In google there are lot of discussion similar to this
refer the following
http://www.linuxquestions.org/questi...others-679867/
http://www.google.com.sg/#hl=en&sour...e0be963af83b19
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Nagios and Oreon (Nagios web front end) installation and Configuration LXer Syndicated Linux News 1 05-31-2016 07:26 AM
How to create another user for Nagios web interface bartsimpson Linux - Newbie 11 03-26-2014 08:49 AM
LXer: Nagios 2.5 and Oreon 1.3 (Nagios web front end) installation with screenshots LXer Syndicated Linux News 0 08-11-2006 05:33 PM
Nagios Web Interface JPawlak Linux - Software 1 08-22-2003 03:49 PM
Nagios Web Interface sanfran49 Linux - Software 6 07-15-2003 10:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration