Applying Configuration

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
asmgiadmin
Posts: 125
Joined: Tue Feb 12, 2013 5:00 pm

Applying Configuration

Post by asmgiadmin »

Just recently, my system started having some issue in apply configuration. Nearly every time of that past 10 or so config applications, it will display error 2 or 3 times, without generating error report under snapshots.

After a few retries, config succeeds.

How can I troubleshoot this issue?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Applying Configuration

Post by slansing »

There error should point you to the configuration file where a problem is detected. This error would be visible by running the write config tool. To do this, navigate to:

CCM > Tools > Write Config Tool

Click on each of the buttons, from top to bottom, let each section complete it's process before going to the next, "text should populate the screen notating this."

On the second button you should see red text, and at the bottom of this list.. Nagios XI will let you know where the error's lie. This should help you solve the problem. Remember! Be sure to edit the respective configuration files from the Core Config Manager, and not the command line as they will be over written upon the next Apply Configuration.
asmgiadmin
Posts: 125
Joined: Tue Feb 12, 2013 5:00 pm

Re: Applying Configuration

Post by asmgiadmin »

No Fix.

I click apply configuration
config verify runs
fails with error - but no error report displayed in config snapshots
config does not apply

I can't seem to diagnose what is happening, but it's been taking at least 2, sometimes more config applications to get success. no change to anythign in between failures - just clicking retry.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Applying Configuration

Post by scottwilkerson »

This is usually caused by the max_execution_time in yout /etc/php.ini being too low, see the following for how to make the change
http://support.nagios.com/wiki/index.ph ... _Completes

then

Code: Select all

service httpd restart
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
asmgiadmin
Posts: 125
Joined: Tue Feb 12, 2013 5:00 pm

Re: Applying Configuration

Post by asmgiadmin »

thanks, that seems to have resolved the issue.
Locked