<<Unable to remove old hosts from "All Hosts Problems">>

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
uhiadmin
Posts: 85
Joined: Sat Jan 15, 2011 9:01 am

<<Unable to remove old hosts from "All Hosts Problems">>

Post by uhiadmin »

Linux Distribution and version?
1. Cent OS 5.5 / 64 Bit
2. Manual Install
3. Gnome installed

To Nagios XI Tech Support Specialist:
I am unable to remove hosts or entities as we call it here at our company from the "All Hosts Problems" list. I already deleted them from the Core Config Manager from the Monitoring lists under Hosts and as well as Services, but they keep showing up in the "All Hosts Problems" list. Have I missed another location other than Services to delete them from????
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: <<Unable to remove old hosts from "All Hosts Problems">>

Post by lmiltchev »

If you deleted some hosts and services from the Core Config Manager but they are still visible, try troubleshooting by following the steps described on our wiki pages:

http://support.nagios.com/wiki/index.ph ... t_Hosts.29
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: <<Unable to remove old hosts from "All Hosts Problems">>

Post by nscott »

Also, make sure you the host actually got deleted in the CCM. The CCM spits its errors out at the bottom and not the top so sometimes its easy to miss if there was an error during an operation. Did you delete the services before the host? If you don't do it the proper order, the CCM not delete it due to dependency issues (and show an error at the bottom).
Nicholas Scott
Former Nagios employee
uhiadmin
Posts: 85
Joined: Sat Jan 15, 2011 9:01 am

Re: <<Unable to remove old hosts from "All Hosts Problems">>

Post by uhiadmin »

A write was mentioned in your notes or attached info. Where is the "write tool" exactly located for me to manually remove the phantom host or ghost host? Dependency on services does not seem to be the issue. I already removed the services before the host........
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: <<Unable to remove old hosts from "All Hosts Problems">>

Post by lmiltchev »

Go to Configure->Core Config Manager and click on "Write Config Files" under "Tools" from the left panel menu.

Find the problematic host config file and delete it manually from terminal. For example:

Code: Select all

# cd /usr/local/nagios/etc/hosts
# rm MyHost.cfg
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked