Deleting Services that aren't in CCM

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
alsoszaa
Posts: 33
Joined: Fri Sep 21, 2018 10:52 am

Deleting Services that aren't in CCM

Post by alsoszaa »

I just updated to 5.6.2 on my test instance. Then I configured MSSQL database through the wizard. I chose the incorrect server and had to delete these. I applied the configuration after deleting the new services. CCM doesn't show the services anymore, but the dashboard and services menu show they are still there and in error. I cannot delete a service that doesn't exist in CCM. Can you please let me know the best action to remove these?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Deleting Services that aren't in CCM

Post by scottwilkerson »

This sounds like you could have 2 nagios parent processes running

Can you show the output of the following

Code: Select all

ps -ef|grep nagios.cfg
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
alsoszaa
Posts: 33
Joined: Fri Sep 21, 2018 10:52 am

Re: Deleting Services that aren't in CCM

Post by alsoszaa »

Here is the output:

[root@dja-tst-nagios ~]# ps -ef|grep nagios.cfg root 22481 22323 0 07:47 pts/0 00:00:00 grep --color=auto nagios.cfg
nagios 27377 1 0 Jun03 ? 00:00:14 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 27395 27377 0 Jun03 ? 00:00:03 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Deleting Services that aren't in CCM

Post by scottwilkerson »

That looks normal, lets do the following

Configure -> CCM -> Config File Management
Click Delete Files
Write configs
Verify files

If there are no errors, go to Apply Configuration
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
alsoszaa
Posts: 33
Joined: Fri Sep 21, 2018 10:52 am

Re: Deleting Services that aren't in CCM

Post by alsoszaa »

Awesome! Thanks! That resolved the issue! This can be considered completed!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Deleting Services that aren't in CCM

Post by scottwilkerson »

alsoszaa wrote:Awesome! Thanks! That resolved the issue! This can be considered completed!
Great!


Locking
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked