BPI not woking after upgraded

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dimsum
Posts: 153
Joined: Thu Aug 15, 2013 6:05 pm

BPI not woking after upgraded

Post 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.
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: BPI not woking after upgraded

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
dimsum
Posts: 153
Joined: Thu Aug 15, 2013 6:05 pm

Re: BPI not woking after upgraded

Post 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.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: BPI not woking after upgraded

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
dimsum
Posts: 153
Joined: Thu Aug 15, 2013 6:05 pm

Re: BPI not woking after upgraded

Post 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.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: BPI not woking after upgraded

Post by mbellerue »

Excellent, glad to hear it's working! Closing thread.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked