mclarkson/nagrestconf

nagrestconf-gui: curl timeout is not handled correctly

Opened this issue · 2 comments

The curl timeout is not handled when csv2nag takes longer to complete to apply new configuration. Instead it just goes on validating the Nagios-configuration which fails.

I had to patch the CURLOPT_TIMEOUT to 600 in "index.php" in order to have a working nagrestconf again.

See comment here: 9ef8992

Thanks for that. I agree with your comment.
It should be set in '/etc/nagrestconf/nagrestconf.ini'.

I will do that for the next release, unless you happened do a PR.

Great news.

If I can find the time, I will do so, but I am very unfamiliar with the nagrestconf-code. So, please don't wait for a PR from me if you already know how this should be done.