Page 1 of 1

Service Deletion Error

Posted: Mon Jul 21, 2014 5:22 am
by sureshkraj2012
~~~~~~~~~~~~~~~~~~~~

Service Deletion Error
Could not find a unique id for this service
Service cannot be deleted using this method
One or more errors were detected that prevent the service from being deleted.

Possible causes include...

The service is associated with other hosts, services, or objects that need to be deleted first
The service is generated by an advanced monitoring configuration entry
The service is maintained in a static or external configuration file
To resolve this issue...

Use the Nagios Core Configuration Manager to delete the service - or -
Manually delete the service definition from the appropriate external configuration file

~~~~~~~~~~~~~~~~~~~~

We are seeing above error when trying to delete a service. It is not listing in CCM. However deleted service are still in /usr/local/nagios/etc/services/Hostname.cfg .
Below solution doesn't seems to be working

killall nagios
service nagios start

Do we need to check something in DB end? Please help to resolve this issue

Re: Service Deletion Error

Posted: Mon Jul 21, 2014 9:59 am
by tmcdonald
What Nagios XI version is this?
What OS and version is it on?

Do you have anything in /usr/local/nagios/etc/static?

Did you try manually removing the service file and doing a Write->Verify as per this FAQ link?

http://support.nagios.com/wiki/index.ph ... om_the_CCM