Problem with 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

Problem with applying configuration

Post by bosecorp »

I am having problems applying config after trying to add devices using wizard.

I tried to write databases configs to a file and then verify and this is the error I found

Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/staging.cfg', starting on line 156)

Nagios Core 4.0.8
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-12-2014
License: GPL

Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/staging.cfg', starting on line 156)
Error processing object config files!


***> One or more problems was encountered while processing the config files...

Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.


How do i fix it
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Problem with applying configuration

Post by bosecorp »

I answered my self. I fixed the problems. I am good now

please close the ticket
Locked