Page 2 of 2

Re: Host Detail not showing Hosts in XI 2.1

Posted: Tue Feb 14, 2012 3:20 pm
by scottwilkerson
can we confirm that in Admin -> XI System Component Status
All item are green.

As well as at the terminal

Code: Select all

# pidof nagios
only has 1 pid

Re: Host Detail not showing Hosts in XI 2.1

Posted: Tue Feb 14, 2012 3:25 pm
by lmiltchev
I just sent you a private message. Please, check it out. Thanks!

Re: Host Detail not showing Hosts in XI 2.1

Posted: Tue Feb 14, 2012 3:29 pm
by dworthcsl

Code: Select all

pidof nagios
19477


Re: Host Detail not showing Hosts in XI 2.1

Posted: Tue Feb 14, 2012 4:27 pm
by lmiltchev
It seems like you have bunch of duplicate config files, which creates problems. You have a "objects" directory, which is a "Nagios Core" directory, doesn't exist in Nagios XI. Please, take a look at our documentation on Nagios XI directory structure here:

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

Ideally, you should configure nagios through the Core Config Manager.But since you are an advanced Core user, you may want to maintain your config files manually, so I would suggest using the static directory (it's described in the "XI_Directory_Structure.pdf").

Also, you can import config files in Nagios XI. Please, read the documents covering this topic bellow:

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

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

Hope this helps.

Re: Host Detail not showing Hosts in XI 2.1

Posted: Wed Feb 15, 2012 9:15 am
by dworthcsl
Hi,

Your solution above made me trace back to installation. My initial install was with r2.0 and discovered a bug with the install script. When I went to install 2.1, I just moved the nagios dir and thats it. So the DB's were left as is. This morning I removed the nagiosxi dirs in /usr/local as well as removed the mysql and postgres data. Fortunately for me I was just using postgres and mysql for XI, so I removed the RPM's as well as any left over files.

Once I had a system clean of nagios xi, I untared the nagiosxi install and ran a full install again. Things were looking a lot better. I could see the localhost in the host detal. I was also able to add my templates and hosts and see them in the dashboards. To sum it up, I am guessing my configuration was dirty due to the previous attempt of installing r2.0 then 2.1. Thanks again for all your help!

Re: Host Detail not showing Hosts in XI 2.1

Posted: Wed Feb 15, 2012 10:18 am
by lmiltchev
I'm glad I could help!