After upgrade to 2014 1.2 I am unable to apply the configuration files without error;
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/check_ssh_service.cfg', starting on line 14)
Error processing object config files!
The file referenced is;
# Nagios QL will overwite all manual settings during the next update
#
###############################################################################
define service {
service_description Check SSH Service
use http_check_service_template
check_command check_ssh!!!!!!!!
flap_detection_enabled 0
register 1
}
###############################################################################
#
# Service configuration file
Can you provide information on resolving this issue?
After upgrade to 2014 1.2
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: After upgrade to 2014 1.2
Looks like nagios found a ghost configuration, is this service present in the CCM? If so, you will need to assign a host to it, deactivate it, or remove it. If it is not there, delete the service configuration file manually from the command line and apply configuration.