Page 1 of 1

Deleted Service from CCM still exists

Posted: Tue Sep 01, 2015 8:10 am
by lb2cons
I've deleted the service check_ping_dg from host Sigacred-RAC02. As you can see the service doesn't exists from CCM:
Screen Shot 2015-09-01 at 09.56.56.png
But, Nagios XI doesn't stop checking this service:
Screen Shot 2015-09-01 at 10.04.02.png
If I try to delete it, the following error occours:
Screen Shot 2015-09-01 at 09.45.32.png

Re: Deleted Service from CCM still exists

Posted: Tue Sep 01, 2015 9:10 am
by tmcdonald
What XI version is this? There was an old issue we called a Ghost Host that sounds like exactly what you are describing.

Go to Configure -> Core Config Manager, then on the left under Tools click Write Config Files. Then if you have it, click Delete, then Write, then Verify and post a screenshot. If you do not have the Delete button, you can simply remove the services from the command line like so:

rm /usr/local/nagios/etc/services/*

They will be re-written when you click Write - nothing is lost.

Re: Deleted Service from CCM still exists

Posted: Tue Sep 01, 2015 10:01 am
by lb2cons
I'm on 2.5.

Ok tmcdonald, this procedure solved the problem.

Thanks!

Re: Deleted Service from CCM still exists

Posted: Tue Sep 01, 2015 10:03 am
by tmcdonald
Glad to hear it!

I'll be closing this thread now, but feel free to open another if you need anything in the future!