Page 1 of 1

Problem with bandwidth usage report

Posted: Wed Apr 05, 2017 3:45 pm
by nik.vu
Hi to all,

I have noticed some problem with bandwidth usage report, when i click on it just display blank page or it display page but there is nothing to choose from drop down list. I tested bandwidth usage report on 2 Nagios XI servers, and on both servers is the same situation.

I hope the above description of problem is all clear.

Re: Problem with bandwidth usage report

Posted: Wed Apr 05, 2017 4:29 pm
by lmiltchev
What is the version of Nagios XI and the "Bandwidth Usage Report" that you are currently using (Admin->Manage Components)? Do you see any errors in the apache error log after you try to load the "Bandwidth Usage Report" page?

Run the following command from the CLI, and show the output in code wraps:

Code: Select all

tail -100 /var/log/httpd/error_log

Re: Problem with bandwidth usage report

Posted: Thu Apr 06, 2017 2:32 am
by nik.vu
One Nagios XI server is on 5.4.2 version, and the other 5.4.3. Also Bandwidth Component is up to date, version 1.7.4.Also I tried to reinstall bandwidth componenet but nothing happend.

This is situation with server on version 5.4.3
[Wed Apr 05 22:23:01 2017] [error] [client 192.168.54.217] request failed: URI too long (longer than 8190)
[Wed Apr 05 22:23:48 2017] [error] [client 192.168.54.217] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /usr/local/nagiosxi/html/includes/components/bandwidthreport/index.php on line 1399, referer: http://192.168.53.72/nagiosxi/reports/
[Wed Apr 05 22:25:41 2017] [error] [client 192.168.54.217] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /usr/local/nagiosxi/html/includes/components/bandwidthreport/index.php on line 1402, referer: http://192.168.53.72/nagiosxi/reports/
[Wed Apr 05 22:27:09 2017] [error] [client 192.168.54.217] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /usr/local/nagiosxi/html/includes/components/bandwidthreport/index.php on line 1399, referer: http://192.168.53.72/nagiosxi/reports/
[Thu Apr 06 09:18:58 2017] [error] [client 192.168.54.239] File does not exist: /usr/local/nagiosxi/html/includes/js/jquery/jquery-1.11.2.min.js, referer: http://192.168.53.72/
[Thu Apr 06 09:19:56 2017] [error] [client 192.168.54.239] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /usr/local/nagiosxi/html/includes/components/bandwidthreport/index.php on line 1399, referer: http://192.168.53.72/nagiosxi/reports/
[Thu Apr 06 09:23:32 2017] [error] [client 192.168.54.239] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /usr/local/nagiosxi/html/includes/components/bandwidthreport/index.php on line 1402, referer: http://192.168.53.72/nagiosxi/reports/
Problem width bandwidth usage with server on 5.4.2 is little different. From reports menu open just a blank page, but when i try directly to open SERVERIP/nagiosxi/includes/components/bandwidthreport/index.php it gaves me response HTTP ERROR 500.

Re: Problem with bandwidth usage report

Posted: Thu Apr 06, 2017 12:05 pm
by lmiltchev
Open the "/etc/php.ini" file in a text editor, and increase the values listed below:

Code: Select all

max_execution_time = 60
max_input_time = 60
memory_limit = 256
Note: These values are found under the "Resource Limits" section.

Save the changes, exit, and restart apache:

Code: Select all

service httpd restart
Let us know if this helped.

Re: Problem with bandwidth usage report

Posted: Thu Apr 06, 2017 1:20 pm
by nik.vu
Thank you, now everything is ok.

You can close the topic.