host added not showing in host details

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bongmendoza
Posts: 21
Joined: Fri Oct 28, 2011 12:12 pm

host added not showing in host details

Post by bongmendoza »

Hello,

I've finally installed Nagios XI for evaluation on Cent OS and I'm able to access the webgui, etc...

I added a host using the wizard as well as installed NSClient++-0.3.9-Win32.msi on the target machine (W2K - not server), applied configuration, but the host I just added is not showing in the host details...

also, System Problem (dashlet?) is indicating "backend database is not running" and "active host/service/notification" checks are disabled

Please advise
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: host added not showing in host details

Post by lmiltchev »

Did you use the steps outlined in these documents?

http://assets.nagios.com/downloads/nagi ... _Agent.pdf

http://assets.nagios.com/downloads/nagi ... Client.pdf

Go to: Core Config Manager->Tools->Write Config Files and click on the four "Go" buttons. Check for errors in the output.
Be sure to check out our Knowledgebase for helpful articles and solutions!
bongmendoza
Posts: 21
Joined: Fri Oct 28, 2011 12:12 pm

Re: host added not showing in host details

Post by bongmendoza »

I followed the instructions, but unfortunately, although Nagios XI install succesfully, there are still some issues with it since some of the required files specifically nrpe was copied from a different box. I have not been able to do a full install of Nagios XI in my box.

right now when testing agent from the server I get this error:

[root@DEV-NAGIOSXI libexec]# ./check_nrpe -H 10.18.4.113
./check_nrpe: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: host added not showing in host details

Post by nscott »

Do you have the ssl libs installed?

yum install openssl openssl-devel cyrus-sasl cyrus-sasl-devel libgsasl libgsasl-devel
Nicholas Scott
Former Nagios employee
bongmendoza
Posts: 21
Joined: Fri Oct 28, 2011 12:12 pm

Re: host added not showing in host details

Post by bongmendoza »

installed it and I"m still getting the same error
[root@DEV-NAGIOSXI libexec]# ./check_nrpe -H 10.18.4.113
./check_nrpe: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory

I've noticed that although the installation guide refers to a clean install, and pre-reqs are basically CentOS or RedHat, what are the other software requirements needed to be able to successfully install? (mysql, openssl, psql, etc......) Also, does the fullinstall installs nrpe and check_nrpe? It always seems to bomb when it gets to that point...
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: host added not showing in host details

Post by lmiltchev »

Go to the nagiosxi folder in /tmp (if you put it there) and run:

Code: Select all

# ./upgrade
Note: you will have to delete any files named: "installed.***" in the "nagiosxi" folder prior to running the "./upgrade".
See if this is going to fix your problem.
Be sure to check out our Knowledgebase for helpful articles and solutions!
bongmendoza
Posts: 21
Joined: Fri Oct 28, 2011 12:12 pm

Re: host added not showing in host details

Post by bongmendoza »

thanks for your response. I ended starting form scratch
1. Installed CentOS 6, base server and included MySQL, PHP and Psql
2. after CentOS, installed gnome, gcc and mrtg
3. downloaded Nagios XI latest release 1.8
4. extracted
5. ran ./fullinstall
6. VIOLA!!! successful install!!!
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: host added not showing in host details

Post by mguthrie »

Good deal, glad it's working for you!
Locked