Reports section on side bar
Re: Reports section on side bar
Let us know if you find anything in the Apache log.
Former Nagios Employee.
me.
me.
Re: Reports section on side bar
Code: Select all
tail -f /var/log/apache2/error.log
[Tue Oct 27 15:43:25.579766 2015] [cgi:error] [pid 14294] [client xx.xx.xx.xx:48403] script not found or unable to stat: /usr/lib/cgi-bin/test.sh
[Tue Oct 27 15:43:26.057984 2015] [cgi:error] [pid 14290] [client xx.xx.xx.xx:48488] script not found or unable to stat: /usr/lib/cgi-bin/tools
[Tue Oct 27 17:04:02.753499 2015] [cgi:error] [pid 8576] [client xx.xx.xx.xx:52264] End of script output before headers: history.cgi, referer: http://xx.xx.xx.xx/nagios/side.php
[Tue Oct 27 17:10:43.753734 2015] [cgi:error] [pid 14292] [client xx.xx.xx.xx:52396] End of script output before headers: history.cgi, referer: http://xx.xx.xx.xx/nagios/side.phpRe: Reports section on side bar
Code: Select all
tail -f /var/log/apache2/access.log
xx.xx.xx.xx - nagiosadmin [27/Oct/2015:17:32:35 +0000] "GET /nagios/images/logos/base/win40.png HTTP/1.1" 404 525 "http://xx.xx.xx.xx/nagios/cgi-bin/status.cgi?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0"
xx.xx.xx.xx - nagiosadmin [27/Oct/2015:17:32:36 +0000] "GET /nagios/images/logos/base/win40.png HTTP/1.1" 404 524 "http://xx.xx.xx.xx/nagios/cgi-bin/status.cgi?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0"
xx.xx.xx.xx - nagiosadmin [27/Oct/2015:17:32:36 +0000] "GET /nagios/images/ndisabled.gif HTTP/1.1" 304 179 "http://xx.xx.xx.xx/nagios/cgi-bin/status.cgi?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0"
xx.xx.xx.xx - nagiosadmin [27/Oct/2015:17:32:37 +0000] "GET /nagios/images/logos/base/ubuntu.png HTTP/1.1" 404 525 "http://xx.xx.xx.xx/nagios/cgi-bin/status.cgi?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0"
xx.xx.xx.xx - nagiosadmin [27/Oct/2015:17:32:37 +0000] "GET /nagios/images/logos/base/ubuntu.png HTTP/1.1" 404 525 "http://xx.xx.xx.xx/nagios/cgi-bin/status.cgi?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0"
xx.xx.xx.xx - nagiosadmin [27/Oct/2015:17:32:37 +0000] "GET /nagios/images/b_first2.png HTTP/1.1" 304 179 "http://xx.xx.xx.xx/nagios/cgi-bin/status.cgi?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0"
xx.xx.xx.xx - nagiosadmin [27/Oct/2015:17:32:37 +0000] "GET /nagios/images/b_prev2.png HTTP/1.1" 304 178 "http://xx.xx.xx.xx/nagios/cgi-bin/status.cgi?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0"
xx.xx.xx.xx - nagiosadmin [27/Oct/2015:17:32:37 +0000] "GET /nagios/images/b_next2.png HTTP/1.1" 304 178 "http://xx.xx.xx.xx/nagios/cgi-bin/status.cgi?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0"
xx.xx.xx.xx - nagiosadmin [27/Oct/2015:17:32:38 +0000] "GET /nagios/images/b_last2.png HTTP/1.1" 304 179 "http://xx.xx.xx.xx/nagios/cgi-bin/status.cgi?host=all" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0"
Re: Reports section on side bar
Can you please post the output of the following?
grep "default_socket_timeout" /etc/php.ini
grep "default_socket_timeout" /etc/php.ini
Former Nagios Employee
Re: Reports section on side bar
ubuntu@nagios-2015:~$ grep "default_socket_timeout" /etc/php5/apache2/php.ini
default_socket_timeout = 60
default_socket_timeout = 60
Re: Reports section on side bar
It may be your timeout configured in PHP, can you locate the line in php.ini for default_socket_timeout which will look like
change the 60 to 240, then restart your httpd and nagios.
Let us know if this works for you or not.
Code: Select all
; Default timeout for socket based streams (seconds)
; http://www.php.net/manual/en/filesystem.configuration.php#ini.default-socket-$
default_socket_timeout = 60
Let us know if this works for you or not.
Former Nagios Employee
Re: Reports section on side bar
still have this error.
Gateway Timeout
The gateway did not receive a timely response from the upstream server or application.
Apache/2.4.7 (Ubuntu) Server at xx.xx.xx.xx Port 80
Gateway Timeout
The gateway did not receive a timely response from the upstream server or application.
Apache/2.4.7 (Ubuntu) Server at xx.xx.xx.xx Port 80
Re: Reports section on side bar
Just for kicks, can you change the 240 to 600?
Former Nagios Employee.
me.
me.
Re: Reports section on side bar
still the same.
can it be due to RAM or memory issue on server?
can it be due to RAM or memory issue on server?
Re: Reports section on side bar
What are the specs on this server?
How much RAM/How many CPUs?
The load average looked a little high in your post before.
How much RAM/How many CPUs?
The load average looked a little high in your post before.
Former Nagios Employee.
me.
me.