Re: BPI keeps spinning
Posted: Fri Apr 20, 2018 12:31 pm
Usually missing hosts/services (that have been deleted in the CCM) from BPI groups can cause these kind of issues. In the "new" BPI (in Nagios XI 5.5) config errors wonldn't prevent the entire BPI to crash.
I was hoping to find an error or two in the log file, and give you an easy fix. However, you have way too many errors in the bpi.log.
Here's what you can do:
1. To try displaying the "Medium Priority" page:
a) Increase the resource limits in the /etc/php.ini file, for example, from this:
to this:
Also, add this to the bottom of the file:
b) Edit the /etc/httpd/conf/httpd.conf file by adding the following line to the bottom:
c) Restart apache:
2. To get rid of the errors in BPI:
a) Copy the entire bpi.conf in a test editor, e.g. Notepad++.
b) Go to Home > BPI > Manually Edit Config, and delete the entire config.
c) Start copying/pasting chunks of code (for example, 10 BPI groups at a time) from the saved bpi.conf to your actual config (under the BPI Configuration Editor), clicking on "Save Configuration", and verifying that you could view the page under the "Medium Priority" tab.
Note: This may take a while, and it would be a tedious process, but with so many "Error: Can't find a service with host" errors in the bpi.log, this would be your only option.
Let us know if this helped.
I was hoping to find an error or two in the log file, and give you an easy fix. However, you have way too many errors in the bpi.log.
Here's what you can do:
1. To try displaying the "Medium Priority" page:
a) Increase the resource limits in the /etc/php.ini file, for example, from this:
Code: Select all
max_execution_time = 30
max_input_time = 60
memory_limit = 128MCode: Select all
max_execution_time = 120
max_input_time = 240
memory_limit = 1024MCode: Select all
max_input_vars=100000Code: Select all
LimitRequestLine 100000Code: Select all
service httpd restarta) Copy the entire bpi.conf in a test editor, e.g. Notepad++.
b) Go to Home > BPI > Manually Edit Config, and delete the entire config.
c) Start copying/pasting chunks of code (for example, 10 BPI groups at a time) from the saved bpi.conf to your actual config (under the BPI Configuration Editor), clicking on "Save Configuration", and verifying that you could view the page under the "Medium Priority" tab.
Note: This may take a while, and it would be a tedious process, but with so many "Error: Can't find a service with host" errors in the bpi.log, this would be your only option.
Let us know if this helped.