Page 1 of 1

Delete Files and Write Configs - Never ends

Posted: Thu Nov 14, 2019 4:40 pm
by ssoliveira
We recently changed a large amount of services. And we are following the instructions on the "Config File Management" page.

We ran a "Delete Files" that ran in less than 1 second.

Writing Configs takes about 1 minute, and the page goes blank due to php timeout.

We increased the timeout limits in the php.ini file (according to nagios documentation), left it at 2, 3, and lastly 5 minutes.

However, the procedure does not end.

Monitoring the folder "/usr/local/nagios/etc/services"; We found that few records are returned in the database to disk before timeout occurs (about 44 files).

What can we do to do a Write Config?

Is there any way to do this other than via php?

We are unable to restart the environment; because I can't run this "Write Config"

Re: Delete Files and Write Configs - Never ends

Posted: Thu Nov 14, 2019 4:56 pm
by benjaminsmith
Hello @ssolivera,

Thanks for providing the details about your issue. I believe there maybe some database issues preventing reading/writing for data. However, I would like to confirm this by reviewing your system logs.

When you have a second, PM your system profile.

To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share this in a private message and then reply to this post to bring it up in the queue.

Re: Delete Files and Write Configs - Never ends

Posted: Thu Dec 05, 2019 11:51 am
by benjaminsmith
Hello @ssolivera,

How is everything? Were you able to get this issue resolved? When you have a moment, please let me know. Thanks.