I am getting this error whwn i try to make any changes not sure if any thing changed on my server
Can i get help please
not able to make any changes even with CCM
-
srikanth.kallu
- Posts: 243
- Joined: Thu Jul 26, 2012 10:48 am
not able to make any changes even with CCM
You do not have the required permissions to view the files attached to this post.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: not able to make any changes even with CCM
Running the write config files tool is the best way to figure this out from the web interface:
CCM > Tools > Write Config Tool, Click Write, followed by Verify, you should then see a list of error indicating that indeed there was a change done, and whatever it was is invalid. You will need to fix that and then you can apply configuration cleanly.
CCM > Tools > Write Config Tool, Click Write, followed by Verify, you should then see a list of error indicating that indeed there was a change done, and whatever it was is invalid. You will need to fix that and then you can apply configuration cleanly.
-
srikanth.kallu
- Posts: 243
- Joined: Thu Jul 26, 2012 10:48 am
Re: not able to make any changes even with CCM
I see this error
RESTART FAILED. CONFIG ERROR:
Error: Host 'TXQAWEB02' cannot be a child/parent of itself
Error: Could not add parent host 'TXQAWEB02' to host (config file '/usr/local/nagios/etc/hosts/TXQAWEB02.cfg', starting on line 14)
I want to delete this host (TXQAWEB02) completely. so i removed that file ( TXQAWEB02.cfg ) from there and when i do CCM--Tools--Write Config Files--restart i still see the file in '/usr/local/nagios/etc/hosts/
RESTART FAILED. CONFIG ERROR:
Error: Host 'TXQAWEB02' cannot be a child/parent of itself
Error: Could not add parent host 'TXQAWEB02' to host (config file '/usr/local/nagios/etc/hosts/TXQAWEB02.cfg', starting on line 14)
I want to delete this host (TXQAWEB02) completely. so i removed that file ( TXQAWEB02.cfg ) from there and when i do CCM--Tools--Write Config Files--restart i still see the file in '/usr/local/nagios/etc/hosts/
Re: not able to make any changes even with CCM
You will need to resolve the issue in the CCM otherwise it will still be created on disk when you do the Write, Verify, Apply cycle.
The issue is that you have a host listing itself as its own parent. We disallow this as it would cause all sorts of looping issues, specifically with recursion trying to find the parent of a parent (a la I Am My Own Grandpa).
The issue is that you have a host listing itself as its own parent. We disallow this as it would cause all sorts of looping issues, specifically with recursion trying to find the parent of a parent (a la I Am My Own Grandpa).
Former Nagios employee
-
srikanth.kallu
- Posts: 243
- Joined: Thu Jul 26, 2012 10:48 am
Re: not able to make any changes even with CCM
but how do i resolve it in CCM, can i please get help.
Re: not able to make any changes even with CCM
You will need to enter the Core Configuration Manager, find the host called "TXQAWEB02" and edit it. You have it listed as its own parent, so you need to click Manage Parents and remove that listing.tmcdonald wrote:The issue is that you have a host listing itself as its own parent.
Former Nagios employee
-
srikanth.kallu
- Posts: 243
- Joined: Thu Jul 26, 2012 10:48 am
Re: not able to make any changes even with CCM
Thank you very much it worked.