Page 1 of 1
Nagios XI - CCM - Write cfg files problem
Posted: Wed Jan 29, 2014 2:37 pm
by gfesj69
Hi, my name is Geraldo and I install nagiosXI to run in my Company, but we are facing a problems.
My instalation is
Nagios XI 2012R2.7
VMWare downloaded from Nagios
+1500 hosts / +11831 services
When we change some host or service configuration, we try to apply the configuration, Nagios XI show that everthing is OK, but the new configs are not apply. I saw at CCM and there are a lot of files that is Sync Missed, we try to use Tools and Write Config Files, but it show me error (permissions), I´ve check the permisions and other stufs, but I am not be able to solve.
Best regards,
Geraldo
Re: Nagios XI - CCM - Write cfg files problem
Posted: Wed Jan 29, 2014 2:58 pm
by lmiltchev
It seems like that you haven't activated your license. Let's start with that and go from there. Here's our documentation on how to activate your Nagios XI license:
http://assets.nagios.com/downloads/nagi ... vation.pdf
Re: Nagios XI - CCM - Write cfg files problem
Posted: Thu Jan 30, 2014 11:19 am
by gfesj69
Thank you, I just active the licence today! Sory!
Do you have any ideia about the problem?
Best regards,
Geraldo
Re: Nagios XI - CCM - Write cfg files problem
Posted: Thu Jan 30, 2014 12:02 pm
by lmiltchev
Run the following commands in the command line (logged in as root):
Code: Select all
cd /usr/local/nagiosxi/scripts
./reset_config_perms
Next, go to the web interface,
Admin->Reset Security Credentials, and click on "
Update Credentials" without changing anything else.
Try to run the Write Config Tool again. If it still fails, run the following command and show us the output:
Run the following commands in the CLI:
Code: Select all
cd /usr/local/nagiosxi/scripts
./reconfigure_nagios.sh &> reconfig.txt
Then also run the following command to begin capturing log output:
Code: Select all
tail -f /usr/local/nagiosxi/var/cmdsubsys.log &> cmd.txt
Attempt to Apply Configuration from the web interface. After the browser has returned some output to the screen, press Ctrl+C to stop the log tail, and PM me the
cmd.txt file and the
reconfig.txt that was generated by the above instructions.
Re: Nagios XI - CCM - Write cfg files problem
Posted: Fri Jan 31, 2014 8:51 am
by gfesj69
Thank you for you support yesterday.
We still have problems to write config files.
Could you still help us to try to solve?
Thanks
Re: Nagios XI - CCM - Write cfg files problem
Posted: Fri Jan 31, 2014 10:53 am
by abrist
Could you please run the commands in Ludmil's post and post the output, specifically:
And: