Page 1 of 1

error deleting service

Posted: Thu Apr 25, 2019 11:15 am
by michaewlewis
I'm trying to delete a service and get the following error:
Apply Configuration
• Configuration verification failed.
• An error occurred while attempting to apply your configuration to Nagios Core. Monitoring engine configuration files have been rolled back to their last known good checkpoint.
Try Again
View Snapshot
Show Written Configs
Show Errors
Error: Service description missing from list '' (config file '/usr/local/nagios/etc/servicegroups.cfg', starting at line 22)
Error: Could not expand members specified in servicegroup 'Oak DDam Relay' (config file '/usr/local/nagios/etc/servicegroups.cfg', starting at line 22)
I've tried deleting from CCM and tried rebooting the nagios vm. How can I get rid of this service?
Service is check_snmp uptime if that makes any difference.

Re: error deleting service

Posted: Thu Apr 25, 2019 12:00 pm
by scottwilkerson
The problem appears to be that the service was assigned to a servicegroup and now the servicegroup may be empty

In the CCM -> Service groups click on the "view config" icon next to one of the service groups and you will see the name of the servicegroup with the problem starting on line 22

Re: error deleting service

Posted: Thu Apr 25, 2019 12:26 pm
by michaewlewis
Okay. That was the problem. I deleted the service group and was able to delete the service. Thanks for the tip.

Re: error deleting service

Posted: Thu Apr 25, 2019 12:41 pm
by scottwilkerson
michaewlewis wrote:Okay. That was the problem. I deleted the service group and was able to delete the service. Thanks for the tip.
Glad to help!

Locking thread