Page 1 of 1
Unable to see host in Host Detail
Posted: Fri Jul 21, 2017 9:31 am
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?
Re: Unable to see host in Host Detail
Posted: Fri Jul 21, 2017 9:53 am
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
Re: Unable to see host in Host Detail
Posted: Mon Jul 24, 2017 2:50 am
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
Re: Unable to see host in Host Detail
Posted: Mon Jul 24, 2017 9:53 am
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