Service Deletion Error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sureshkraj2012
Posts: 65
Joined: Tue Aug 06, 2013 11:06 pm

Service Deletion Error

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Service Deletion Error

Post 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
Former Nagios employee
Locked