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...
Read main config file okay...
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/FTP.cfg', starting on line 44)
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.
When I run /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfv I get:
Now the original error shows an issue on line 44. Here is those definition:Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Warning: Duplicate definition found for service 'Fans' on host 'EQL-ARY-Stack' (config file '/usr/local/nagios/etc/services/EQL-ARY-Stack.cfg', starting on line 78)
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 1041 services.
Checked 89 hosts.
Checked 26 host groups.
Checked 15 service groups.
Checked 9 contacts.
Checked 5 contact groups.
Checked 132 commands.
Checked 14 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 89 hosts
Checked 0 servicedependenciesCode: Select all
Checked 0 host dependencies
Checked 14 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
Code: Select all
define service {
host_name dc01-ftp-03
service_description ftp-03 - FTPS List
use xiwizard_nrpe_service
servicegroups FTP
check_command check_ftps!test!vfm11test!21!dc01-ftp-03.prod-cloud.com!!!!
max_check_attempts 3
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts nagiosadmin
_xiwizard linux-server
register 1
}