Hello,
I'm getting the messages below when applying configuration after upgrading to 2014R1.1.
Nagios Core 4.0.6
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 04-29-2014
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Warning: use_embedded_perl_implicitly is deprecated and will be removed.
Warning: sleep_time is deprecated and will be removed.
Warning: p1_file is deprecated and will be removed.
Warning: external_command_buffer_slots is deprecated and will be removed. All commands are always processed upon arrival
Warning: enable_embedded_perl is deprecated and will be removed.
Warning: command_check_interval is deprecated and will be removed. Commands are always handled on arrival
Read main config file okay...
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/http-linux.cfg', starting on line 14)
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.
Please note that I also received the message below after the upgrade.
***> 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.
Thanks in advance.
Error when Applying Configuration
Re: Error when Applying Configuration
It looks like your http-linux service has no service description. If this is the case you may have several services with this same issue.tgfde wrote:Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/http-linux.cfg', starting on line 14)
Former Nagios employee
Re: Error when Applying Configuration
Please advise on how I could fix this issue. I was not receiving this error prior to my upgrade.
Thanks in advance.
Thanks in advance.
Re: Error when Applying Configuration
You need to edit the service: "http-linux".
Check to make sure it has a service description and that it is applied to at least 1 host or hostgroup.
Check to make sure it has a service description and that it is applied to at least 1 host or hostgroup.
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.
"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.
Re: Error when Applying Configuration
Thank you!