Unable to delete

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Pilly170
Posts: 75
Joined: Thu Mar 28, 2013 6:03 am

Unable to delete

Post by Pilly170 »

Could not find a unique id for this host
Host cannot be deleted using this method

One or more errors were detected that prevent the host from being deleted.

Possible causes include...

The host is associated with other hosts, services, or objects that need to be deleted first
The host is maintained in a static or external configuration file

To resolve this issue...

Use the Nagios Core Configuration Manager to delete the host - or -
Manually delete the host definition from the appropriate external configuration file
How do I delete this manually? as I cannot find the host/services anywhere?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Unable to delete

Post by slansing »

You can navigate to Configure > CCM > Tools > Write Config Tool and then click the buttons from top to bottom, this should output configuration errors and help you find what must be changed. If the host is not present in the mysql DB (you can check this by trying to find it in the CCM) Then you are likely running into a rare ghost host issue:

http://support.nagios.com/wiki/index.ph ... t_Hosts.29
Locked