Deleted Service from CCM still exists

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lb2cons
Posts: 72
Joined: Mon Dec 08, 2014 4:11 pm

Deleted Service from CCM still exists

Post 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
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Deleted Service from CCM still exists

Post 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.
Former Nagios employee
lb2cons
Posts: 72
Joined: Mon Dec 08, 2014 4:11 pm

Re: Deleted Service from CCM still exists

Post by lb2cons »

I'm on 2.5.

Ok tmcdonald, this procedure solved the problem.

Thanks!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Deleted Service from CCM still exists

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