Hi,
Im having trouble deleting a host group called Network - CORE when i try it says
Error: Could not find any hostgroup matching 'Network - CORE' (config file '/usr/local/nagios/etc/services/Network - CORE .cfg', starting on line 28)
Please advise on how to fix this.
Thanks
Cant Delete a Host Group
Re: Cant Delete a Host Group
I assume this is through the CCM? Is the error showing up when you click delete, or when you click apply config?
Former Nagios employee
Re: Cant Delete a Host Group
Hi,
Yes thats correct, after i log in Nagios, i navigate to CCM, log in there - then click on host group - search for the host - click delete - it deletes successfully (no errors) upon applying this config it gives the error:
Applying Configuration
Command submitted for processing...
Waiting for configuration verification............
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.
View a snapshot of this configuration error
Error: Could not find any hostgroup matching 'Network - CORE' (config file '/usr/local/nagios/etc/services/Network - CORE .cfg', starting on line 28)
Error processing object config files!
Thanks.
Yes thats correct, after i log in Nagios, i navigate to CCM, log in there - then click on host group - search for the host - click delete - it deletes successfully (no errors) upon applying this config it gives the error:
Applying Configuration
Command submitted for processing...
Waiting for configuration verification............
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.
View a snapshot of this configuration error
Error: Could not find any hostgroup matching 'Network - CORE' (config file '/usr/local/nagios/etc/services/Network - CORE .cfg', starting on line 28)
Error processing object config files!
Thanks.
Re: Cant Delete a Host Group
It looks like you might have placed a space before ".cfg" in your Network - CORE config file. Can you post/PM the content of /usr/local/nagios/etc/services/Network - CORE .cfg (removing sensitive information) and confirm whether or not there is a space there?
Former Nagios employee
Re: Cant Delete a Host Group
I found the problem, it was hanging onto host therefore it could not be deleted.
Thanks.
Thanks.