"Could not find a unique id for this host"

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jdejesus429
Posts: 4
Joined: Wed Apr 27, 2011 8:33 am

"Could not find a unique id for this host"

Post by jdejesus429 »

I recently deleted a host from the CCM but it still shows up under my list of hosts when i click on "host detail". Upon trying to delete the host via the "Configure" tab and clicking "delete this host. i get the error "Could not find a unique id for this host. Host cannot be deleted using this method".

It tells me to go to the Core Config Manager (i have confirmed that it is not there since i have deleted it from the CCM) and remove it and that the possible causes of the issue are:

Possible causes include...

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

Option 1 does not seem to be the case and i do not know what number 2 means.

Any suggestions are appreciated ( i have attached a screenshot with the error)
thanks,
Jose
You do not have the required permissions to view the files attached to this post.
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: "Could not find a unique id for this host"

Post by tonyyarusso »

Is it possible that you forgot to "apply config" after deleting it in the CCM?
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
jdejesus429
Posts: 4
Joined: Wed Apr 27, 2011 8:33 am

Re: "Could not find a unique id for this host"

Post by jdejesus429 »

That did not do it
User avatar
admin
Site Admin
Posts: 256
Joined: Mon Oct 12, 2009 8:21 am

Re: "Could not find a unique id for this host"

Post by admin »

How did you originally create the host? Did you use a wizard or manually create it through the CCM?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Ethan Galstad
President
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: "Could not find a unique id for this host"

Post by mguthrie »

On rare occasions the CCM can delete a host but fail to delete the actual config file. See the below solutions:
http://support.nagios.com/wiki/index.ph ... t_Hosts.29
jdejesus429
Posts: 4
Joined: Wed Apr 27, 2011 8:33 am

Re: "Could not find a unique id for this host"

Post by jdejesus429 »

mguthrie wrote:On rare occasions the CCM can delete a host but fail to delete the actual config file. See the below solutions:
http://support.nagios.com/wiki/index.ph ... t_Hosts.29
This has solved the issue.

Removed the files:
/usr/.../hosts/'name of problematic host.cfg'
/usr/.../services/'name of problematic host.cfg'

checked the configuration and the restarted Nagios.

at first i was only removing the file from the hosts directory and it would not resolve the issue. had to do it from both.

Thanks for your help, greatly appreciated!
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: "Could not find a unique id for this host"

Post by rdedon »

Excellent! Feel free to post again if you have any additional questions or issues.

Thanks!

:)
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
Locked