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?
Unable to see host in Host Detail
Re: Unable to see host in Host Detail
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:
Let us know the results.
Thank you
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 restartThank you
-
Phil.Pearce
- Posts: 52
- Joined: Fri Jul 18, 2014 7:30 am
Re: Unable to see host in Host Detail
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
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
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: 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
Admin > System Profile > View System Info
Example: 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!