I am geeting error after trying to applying configuration

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

I am geeting error after trying to applying configuration

Post by bosecorp »

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


Show Config Changes

Error: There are no services defined!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: I am geeting error after trying to applying configuratio

Post by abrist »

You must have at least 1 live service configured in the CCM as nagios requires at minimum 1 host and 1 service for the configuration to be valid.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: I am geeting error after trying to applying configuratio

Post by bosecorp »

I made some progress. had to reboot everything.

but now I am getting this error

dcn-cdefw-pa500-1.bose.com

Error: Failed to process servicegroup names for service 'Ping' on host 'dcn-cdefw-pa500-1.bose.com' (config file '/usr/local/nagios/etc/services/dcn-cdefw-pa500-1.bose.com.cfg', startin
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: I am geeting error after trying to applying configuratio

Post by tgriep »

Go to that service in CCM and make sure the servicegroup assigned to it is valid, if not add one to it.
Then Apply the configuration.

If it still fails, could you post this file so we can review it?

Code: Select all

/usr/local/nagios/etc/services/dcn-cdefw-pa500-1.bose.com.cfg
Be sure to check out our Knowledgebase for helpful articles and solutions!
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: I am geeting error after trying to applying configuratio

Post by bosecorp »

thanks, working now.

please close the ticket
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: I am geeting error after trying to applying configuratio

Post by cmerchant »

We'll go ahead and close the thread. Thanks.
Locked