Page 1 of 1

BPI not woking after upgraded

Posted: Thu Jun 20, 2019 10:01 pm
by dimsum
Hi,

BPI not working after upgrading from 2014 to 5.6.3 I have tried to increase memory, execution time out in php.ini but it doesn't work. see my attached.

Any idea please advise.

Thank you.

Re: BPI not woking after upgraded

Posted: Fri Jun 21, 2019 9:10 am
by benjaminsmith
Hi @dimsum,

Thanks for uploading the image. It certainly looks like the page is hanging. Can you load the page, tail the Apache logs and post the full output in code wraps.

Code: Select all

tail -f /var/log/httpd/*error_log
Also, what values did you set in /etc/php.ini , for example,

Code: Select all

max_execution_time = 120
max_input_time = 240
memory_limit = 1024M
Increase he max_input_vars as well:

Code: Select all

max_input_vars=100000
Then restart Apache.

Code: Select all

service httpd restart
Thank you.

Re: BPI not woking after upgraded

Posted: Mon Jun 24, 2019 5:01 am
by dimsum
here a message log after adjusts some of your mentions.

[Thu Jun 20 14:13:00 2019] [error] [client 10.2.16.131] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /usr/local/nagiosxi/html/includes/components/nagiosbpi/classes/BpGroup_class.php on line 0, referer: http://vte-monnagiosxi/nagiosxi/include ... /index.php

Thank you.

Re: BPI not woking after upgraded

Posted: Mon Jun 24, 2019 1:05 pm
by benjaminsmith
Hi @dimsum,

Did you make those changes to php.ini and restart Apache? If so, there maybe an issue with your BPI configuration file.

1. Can you PM your system profile?

To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share in a private message or upload it to the post/ticket.

2. Post or PM the BPI Group configuration file at /usr/local/nagiosxi/etc/components/bpi.conf

3. Also, the BPI log file as well. By default, that will be in /usr/local/nagiosxi/var/components/bpi.log

Thanks.

Re: BPI not woking after upgraded

Posted: Thu Aug 08, 2019 9:42 am
by dimsum
I saw some host in BPI config is not sync in hosts in Nagios. I have to revise old host in BPI config file, so now BPI is working.

Thank for your help.

Re: BPI not woking after upgraded

Posted: Thu Aug 08, 2019 10:51 am
by mbellerue
Excellent, glad to hear it's working! Closing thread.