Configuration Error
-
estherpeddi
- Posts: 22
- Joined: Thu Feb 07, 2013 4:50 pm
Configuration Error
Please help!
i get the below error after I complete configuring SQL server Monitoring Wizard -
An error occurred while attempting to apply your configuration to the monitoring engine. Contact your Nagios administrator if this problem persists.
i get the below error after I complete configuring SQL server Monitoring Wizard -
An error occurred while attempting to apply your configuration to the monitoring engine. Contact your Nagios administrator if this problem persists.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Configuration Error
Can you please do the following:
Navigate to Configure > Core Config Manager > Tools > Write Config Tool.
From here click each of the 3 buttons moving from top to bottom, post the output from each of the three here in a reply. Thanks!
Navigate to Configure > Core Config Manager > Tools > Write Config Tool.
From here click each of the 3 buttons moving from top to bottom, post the output from each of the three here in a reply. Thanks!
-
estherpeddi
- Posts: 22
- Joined: Thu Feb 07, 2013 4:50 pm
Re: Configuration Error
Hi, thanks for responding! Im using the free trial version and i do not have access to CCM, please advise. Thanks!
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Configuration Error
Does your account not have Admin privileges? You should have access to the CCM regardless as it is the main tool used to modify configuration files within XI.
-
estherpeddi
- Posts: 22
- Joined: Thu Feb 07, 2013 4:50 pm
Re: Configuration Error
Im using nagiosadmin account, how can i check to see if it has admin priivileges?
Re: Configuration Error
Go to:
Admin->System Config->Reset Security Credentials
and enter a password that you would like to use to log in CCM in the "New Config Manager Admin Password" filed. Don't change anything else under "Sub-System Credentials"! Click on "Update Credentials".
Log in the CCM:
Configure->Core Configuration Manager
username: nagiosadmin
password: <your new password>
Then go to: Tools->Write Config Files->click on Write and Verify buttons, and copy/paste the output.
Admin->System Config->Reset Security Credentials
and enter a password that you would like to use to log in CCM in the "New Config Manager Admin Password" filed. Don't change anything else under "Sub-System Credentials"! Click on "Update Credentials".
Log in the CCM:
Configure->Core Configuration Manager
username: nagiosadmin
password: <your new password>
Then go to: Tools->Write Config Files->click on Write and Verify buttons, and copy/paste the output.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
estherpeddi
- Posts: 22
- Joined: Thu Feb 07, 2013 4:50 pm
Re: Configuration Error
Nevermind i was able to reset password to be used for CCM, will send you the output soon.
-
estherpeddi
- Posts: 22
- Joined: Thu Feb 07, 2013 4:50 pm
Re: Configuration Error
Write -
Verify -
Restart -
Code: Select all
Write host configurations ...
Host configuration files successfully written!
Write service configurations ...
Service configuration files successfully written!
Configuration file: hostgroups.cfg successfully written!
Configuration file: servicegroups.cfg successfully written!
Configuration file: hosttemplates.cfg successfully written!
Configuration file: servicetemplates.cfg successfully written!
Configuration file: timeperiods.cfg successfully written!
Configuration file: commands.cfg successfully written!
Configuration file: contacts.cfg successfully written!
Configuration file: contactgroups.cfg successfully written!
Configuration file: contacttemplates.cfg successfully written!
Configuration file: servicedependencies.cfg successfully written!
Configuration file: hostdependencies.cfg successfully written!
Configuration file: serviceescalations.cfg successfully written!
Configuration file: hostescalations.cfg successfully written!
Configuration file: serviceextinfo.cfg successfully written!
Configuration file: hostextinfo.cfg successfully written!
Code: Select all
Error: Host 'crplivdba2.citnet.cit.com' cannot be a child/parent of itself
Error: Could not add parent host 'crplivdba2.citnet.cit.com' to host (config file '/usr/local/nagios/etc/hosts/crplivdba2.citnet.cit.com.cfg', starting on line 14)
Nagios Core 3.4.1
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 05-11-2012
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
Processing object config file '/usr/local/nagios/etc/timeperiods.cfg'...
Processing object config file '/usr/local/nagios/etc/commands.cfg'...
Processing object config file '/usr/local/nagios/etc/hostgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/servicegroups.cfg'...
Processing object config file '/usr/local/nagios/etc/hosttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicetemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicedependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostdependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/hostescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostextinfo.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceextinfo.cfg'...
Processing object config directory '/usr/local/nagios/etc/hosts'...
Processing object config file '/usr/local/nagios/etc/hosts/crplivdba2.citnet.cit.com.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/localhost.cfg'...
Processing object config directory '/usr/local/nagios/etc/services'...
Processing object config file '/usr/local/nagios/etc/services/crplivdba2.citnet.cit.com.cfg'...
Processing object config file '/usr/local/nagios/etc/services/localhost.cfg'...
Error: Host 'crplivdba2.citnet.cit.com' cannot be a child/parent of itself
Error: Could not add parent host 'crplivdba2.citnet.cit.com' to host (config file '/usr/local/nagios/etc/hosts/crplivdba2.citnet.cit.com.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.
Code: Select all
RESTART FAILED. CONFIG ERROR:
Error: Host 'crplivdba2.citnet.cit.com' cannot be a child/parent of itself
Error: Could not add parent host 'crplivdba2.citnet.cit.com' to host (config file '/usr/local/nagios/etc/hosts/crplivdba2.citnet.cit.com.cfg', starting on line 14)
Last edited by sreinhardt on Fri Mar 08, 2013 12:29 pm, edited 1 time in total.
Reason: Please use [code][/code] tags for large amounts of text.
Reason: Please use [code][/code] tags for large amounts of text.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Configuration Error
It seems that you have defined the host 'crplivdba2.citnet.cit.com' to be a parent of itself, which is not possible. Go into CCM, under hosts, modify that one, then manage parents, and remove it from there. If this is applied by a template or hostgroup it may be a little more tricky but should just be modifying the additional object in the same manor.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Configuration Error
To fix the following error:
Hosts cannot be children or parents of themselves.
You will need to go to the CCM --> Hosts --> Click on the host 'crplivdba2.citnet.cit.com' --> On the common settings tab, click on "Manage Parents" --> remove the host 'crplivdba2.citnet.cit.com' from the list.
Save out and apply configuration.
Code: Select all
Error: Host 'crplivdba2.citnet.cit.com' cannot be a child/parent of itself
Error: Could not add parent host 'crplivdba2.citnet.cit.com' to host (config file '/usr/local/nagios/etc/hosts/crplivdba2.citnet.cit.com.cfg', starting on line 14) You will need to go to the CCM --> Hosts --> Click on the host 'crplivdba2.citnet.cit.com' --> On the common settings tab, click on "Manage Parents" --> remove the host 'crplivdba2.citnet.cit.com' from the list.
Save out and apply configuration.
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.