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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-01-2010, 03:43 AM
|
#1
|
LQ Newbie
Registered: Feb 2010
Posts: 5
Rep:
|
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
|
|
|
02-01-2010, 06:16 AM
|
#2
|
Member
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731
Rep: 
|
Hi,
did you configure apache for nagios website?
|
|
|
02-01-2010, 06:32 AM
|
#3
|
Member
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707
Rep:
|
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
|
|
|
02-01-2010, 07:48 AM
|
#4
|
Member
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731
Rep: 
|
Hi,
how does httpd.conf look like?
|
|
|
02-03-2010, 07:57 PM
|
#5
|
Member
Registered: Aug 2006
Posts: 153
Rep:
|
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.
|
|
|
02-03-2010, 08:52 PM
|
#6
|
Senior Member
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278
Rep: 
|
Dont want to go far away for solution, in nagios website there is a well documented pdf just follow their instruction
|
|
|
02-04-2010, 12:43 AM
|
#7
|
Member
Registered: Aug 2006
Posts: 153
Rep:
|
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
|
|
|
02-04-2010, 08:55 AM
|
#8
|
Senior Member
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278
Rep: 
|
|
|
|
All times are GMT -5. The time now is 06:15 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|