Deleting Services that aren't in CCM
Deleting Services that aren't in CCM
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
This sounds like you could have 2 nagios parent processes running
Can you show the output of the following
Can you show the output of the following
Code: Select all
ps -ef|grep nagios.cfgRe: Deleting Services that aren't in CCM
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
[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
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
Configure -> CCM -> Config File Management
Click Delete Files
Write configs
Verify files
If there are no errors, go to Apply Configuration
Re: Deleting Services that aren't in CCM
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
Great!alsoszaa wrote:Awesome! Thanks! That resolved the issue! This can be considered completed!
Locking