Host Detail not showing Hosts in XI 2.1

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Host Detail not showing Hosts in XI 2.1

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Host Detail not showing Hosts in XI 2.1

Post by lmiltchev »

I just sent you a private message. Please, check it out. Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
dworthcsl
Posts: 95
Joined: Wed Jan 11, 2012 4:00 pm

Re: Host Detail not showing Hosts in XI 2.1

Post by dworthcsl »

Code: Select all

pidof nagios
19477

User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Host Detail not showing Hosts in XI 2.1

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
dworthcsl
Posts: 95
Joined: Wed Jan 11, 2012 4:00 pm

Re: Host Detail not showing Hosts in XI 2.1

Post 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!
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Host Detail not showing Hosts in XI 2.1

Post by lmiltchev »

I'm glad I could help!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked