Nagios XI - CCM - Write cfg files problem

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gfesj69
Posts: 59
Joined: Fri Jan 03, 2014 10:04 am
Location: Brazil

Nagios XI - CCM - Write cfg files problem

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios XI - CCM - Write cfg files problem

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
gfesj69
Posts: 59
Joined: Fri Jan 03, 2014 10:04 am
Location: Brazil

Re: Nagios XI - CCM - Write cfg files problem

Post by gfesj69 »

Thank you, I just active the licence today! Sory!

Do you have any ideia about the problem?

Best regards,

Geraldo
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios XI - CCM - Write cfg files problem

Post 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:

Code: Select all

tail -25 /var/log/httpd/error_log
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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
gfesj69
Posts: 59
Joined: Fri Jan 03, 2014 10:04 am
Location: Brazil

Re: Nagios XI - CCM - Write cfg files problem

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios XI - CCM - Write cfg files problem

Post by abrist »

Could you please run the commands in Ludmil's post and post the output, specifically:

Code: Select all

reconfig.txt
cmd.txt
And:

Code: Select all

tail -25 /var/log/httpd/error_log
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.
Locked