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"
Delete Files and Write Configs - Never ends
-
ssoliveira
- Posts: 91
- Joined: Wed Dec 07, 2016 6:02 pm
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Delete Files and Write Configs - Never ends
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.
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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Delete Files and Write Configs - Never ends
Hello @ssolivera,
How is everything? Were you able to get this issue resolved? When you have a moment, please let me know. Thanks.
How is everything? Were you able to get this issue resolved? When you have a moment, please let me know. Thanks.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!