Unable to see host in Host Detail

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Phil.Pearce
Posts: 52
Joined: Fri Jul 18, 2014 7:30 am

Unable to see host in Host Detail

Post by Phil.Pearce »

Hi,

I created a server user the config wizard, i can see it i nthe config side, but not when i look in the host detail or service detail.

Ive upgraded nagios, deleted/written/verified files.

Any ideas how can i resolve?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Unable to see host in Host Detail

Post by ssax »

Did you apply configuration?

Please go to Configure > Core Config Manager > Tools > Config File Management / Write Config Files:
- Click Delete (don't worry, it's safe, they get re-written)
- Click Write

Now apply configuration again and see if you have any errors.

If you're still having issues and not seeing it, please run these commands and see if it resolves it for you:

Code: Select all

service npcd stop
service nagios stop
service ndo2db stop
service postgresql stop
service mysqld restart
rm -rf /usr/local/nagios/var/rw/nagios.cmd
rm -rf /usr/local/nagios/var/nagios.lock
rm -rf /usr/local/nagios/var/ndo.sock
rm -rf /usr/local/nagios/var/ndo2db.lock
rm -rf /usr/local/nagiosxi/var/reconfigure_nagios.lock
rm -rf /var/lib/mrtg/mrtg_l
for i in `ipcs -q | grep nagios |awk '{print $2}'`; do ipcrm -q $i; done
pkill -9 -u nagios
service httpd restart
service postgresql start
service ndo2db start
service nagios start
service npcd start
service crond restart
Let us know the results.


Thank you
Phil.Pearce
Posts: 52
Joined: Fri Jul 18, 2014 7:30 am

Re: Unable to see host in Host Detail

Post by Phil.Pearce »

Did the above.
Did a OS update
Rebooted

Deleted Config Files
Wrote Config Files
Applied Config
Verified Config


Same result.


* also did repair DBs from nagios document
/usr/local/nagiosxi/scripts/repair_databases.sh
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Unable to see host in Host Detail

Post by lmiltchev »

I have seen cases, when the new configs are not written to flat files even though the configuration has been applied. This is usually caused by "out of sync" system and php time. Can you check if your system and php times match?

Admin > System Profile > View System Info

Example:
example01.PNG
For more information on the topic, please review the document below:
https://assets.nagios.com/downloads/nag ... m_Time.pdf

If your system and php times are in sync, PM any of the Nagios employees your profile (profile.zip).

Admin > System Profile > Download Profile
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked