Nagios Core Front-End - CGI times out
Posted: Wed Sep 26, 2018 2:32 pm
Hello,
I have installed nagios core with nagiosql and loaded few host and services where i have no issues on that part. However when I start increasing the host count, I see cgi/apache times out showing an error.
The host count is 5400 right now. I agree its huge and suspect there should be some tuning required to allow this much load but not sure where I should check. Any help would be helpful.
Here is the http error message I see whenever the frontend times out.
I have installed nagios core with nagiosql and loaded few host and services where i have no issues on that part. However when I start increasing the host count, I see cgi/apache times out showing an error.
Code: Select all
The gateway did not receive a timely response from the upstream server or application.Here is the http error message I see whenever the frontend times out.
Code: Select all
[Wed Sep 26 19:23:24.052554 2018] [autoindex:error] [pid 43461] [client 127.0.0.1:41694] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Wed Sep 26 19:27:37.002290 2018] [cgi:warn] [pid 12255] [client 192.168.199.254:37478] AH01220: Timeout waiting for output from CGI script /usr/local/nagios/sbin/statusjson.cgi, referer: http://192.168.199.24/nagios/main.php
[Wed Sep 26 19:27:37.002368 2018] [cgi:error] [pid 12255] [client 192.168.199.254:37478] Script timed out before returning headers: statusjson.cgi, referer: http://192.168.199.24/nagios/main.php
[Wed Sep 26 19:27:38.156480 2018] [cgi:warn] [pid 5266] [client 192.168.199.254:29592] AH01220: Timeout waiting for output from CGI script /usr/local/nagios/sbin/tac.cgi, referer: http://192.168.199.24/nagios/side.php
[Wed Sep 26 19:27:38.156555 2018] [cgi:error] [pid 5266] [client 192.168.199.254:29592] Script timed out before returning headers: tac.cgi, referer: http://192.168.199.24/nagios/side.php