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.
cannot modify Nagios configuration
Re: cannot modify Nagios configuration
Go to: CCM->Advanced->Service Dependencies, click on the "View Text Config" actions button and post the config (hide the sensitive info).
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: cannot modify Nagios configuration
###############################################################################
#
# Service dependency configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date: 2013-07-29 13:14:36
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios QL will overwite all manual settings during the next update
#
###############################################################################
define servicedependency {
hostgroup_name Linux-based network storage
service_description NFS health status
inherits_parent 1
execution_failure_criteria c,
notification_failure_criteria c,
dependency_period 24x7
}
###############################################################################
#
# Service dependency configuration file
#
# END OF FILE
#
###############################################################################
#
# Service dependency configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date: 2013-07-29 13:14:36
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios QL will overwite all manual settings during the next update
#
###############################################################################
define servicedependency {
hostgroup_name Linux-based network storage
service_description NFS health status
inherits_parent 1
execution_failure_criteria c,
notification_failure_criteria c,
dependency_period 24x7
}
###############################################################################
#
# Service dependency configuration file
#
# END OF FILE
#
###############################################################################
Re: cannot modify Nagios configuration
I believe you are missing two directives in the config:
You should have:
Code: Select all
dependent_hostgroup_name
dependent_service_descriptionUnder "Service Dependency Management" click on "Manage Dependent Hostgroups" and "Manage Service Dependencies" and make some mods. After that, run the Write Config Tool to check for config errors. If there are no errors, apply configuration.define servicedependency {
dependent_hostgroup_name <some_hostgroup>
dependent_service_description <some_service>
hostgroup_name Linux-based network storage
service_description NFS health status
inherits_parent 1
execution_failure_criteria c,
notification_failure_criteria c,
dependency_period 24x7
}
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: cannot modify Nagios configuration
My apologies, but i do not see "Service Dependency Management" anywhere on the interface. I've searched everywhere.
Re: cannot modify Nagios configuration
this can be marked resolved. i removed the service dependency.
thanks for your help.
thanks for your help.
Re: cannot modify Nagios configuration
bmusson,
Thanks for letting us know!
-Yancy
Thanks for letting us know!
-Yancy