cannot modify Nagios configuration
Posted: Fri Jul 26, 2013 12:48 pm
There seems to be a change which was made that prevent nagios from taking the new configuration files.
the configuration error is:
Processing object config file '/usr/local/nagios/etc/services/itesx03.nimblestorage.com.cfg'...
Processing object config file '/usr/local/nagios/etc/services/win7-corp2.nimblestorage.com.cfg'...
Processing object config file '/usr/local/nagios/etc/services/gmini.nimblestorage.com.cfg'...
Processing object config file '/usr/local/nagios/etc/services/localhost.cfg'...
Processing object config file '/usr/local/nagios/etc/services/rdp.nimblestorage.com.cfg'...
Error: Could not expand dependent services specified in service dependency (config file '/usr/local/nagios/etc/servicedependencies.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.
So looking at the /usr/local/nagios/etc/servicedependencies.cfg file, i don't see anything there. I've tried deleting the white space but that does not seem to fix the issue:
###############################################################################
#
# Service dependency configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date: 2013-06-28 22:16:22
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios QL will overwite all manual settings during the next update
#
###############################################################################
###############################################################################
#
# Service dependency configuration file
#
# END OF FILE
#
###############################################################################
please advise.
the configuration error is:
Processing object config file '/usr/local/nagios/etc/services/itesx03.nimblestorage.com.cfg'...
Processing object config file '/usr/local/nagios/etc/services/win7-corp2.nimblestorage.com.cfg'...
Processing object config file '/usr/local/nagios/etc/services/gmini.nimblestorage.com.cfg'...
Processing object config file '/usr/local/nagios/etc/services/localhost.cfg'...
Processing object config file '/usr/local/nagios/etc/services/rdp.nimblestorage.com.cfg'...
Error: Could not expand dependent services specified in service dependency (config file '/usr/local/nagios/etc/servicedependencies.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.
So looking at the /usr/local/nagios/etc/servicedependencies.cfg file, i don't see anything there. I've tried deleting the white space but that does not seem to fix the issue:
###############################################################################
#
# Service dependency configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date: 2013-06-28 22:16:22
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios QL will overwite all manual settings during the next update
#
###############################################################################
###############################################################################
#
# Service dependency configuration file
#
# END OF FILE
#
###############################################################################
please advise.