I'm new here and registered because I'm running out of ideas for the following problem:
I'm running a Nagios 3.5.1, installed via yum from an EPEL-repo on a RedHat 7.1-system.
I moved the log-files and configuration to a different location (separate disk). I enabled LDAP-Auth for the GUI in the /etc/httpd/conf.d/nagios.conf.
Everything is working pretty well except of one thing:
From time to time (~ every 30 refreshes) or when I click somewhere on the dashboard, I'm getting the "Error 500" and I can still see the menu on the right side, but no hosts or status-infos.
In the httpd-error-log I can see this at the same time e.g.:
[Thu Jan 14 12:00:16.239471 2016] [cgi:error] [pid 5026] [client 192.168.2.100:61945] End of script output before headers: status.cgi, referer: http://nagios001/nagios/cgi-bin//status ... ustypes=15
or:
[Thu Jan 14 11:09:06.246553 2016] [cgi:error] [pid 27117] [client 192.168.2.100:61203] End of script output before headers: status.cgi, referer: http://nagios001/nagios/side.php
From different posts, I could see, that it might has something to do with the file-permissions or incorrect configuration, but I check eversything I could find.
The strange thing is, that this error occurs only sometimes and not permanently. So my question is:
Could it be possible, that this is due to a high load of the nagios during executing checks or any file-locks or does anyone have another idea?
Thank you all in advance
BR