BPI Process Unknown after 5.6.5 upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

Re: BPI Process Unknown after 5.6.5 upgrade

Post by rferebee »

I made these changes (minus the setting that wasn't preset in my config file) and it's still not working.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: BPI Process Unknown after 5.6.5 upgrade

Post by cdienger »

max_input_vars may not exist and you can add it if it isn't in there.

Once that is done and the httpd service restarted, tail these logs:

Code: Select all

tail -Fn0 /usr/local/nagiosxi/var/cmdsubsys.log /var/log/httpd/error_log /var/log/httpd/ssl_error_log /usr/local/nagiosxi/var/components/bpi.log
and run(on a different command line while tail is running):

Code: Select all

su - nagios
php /usr/local/nagios/libexec/check_bpi.php DNSservice
and also try to resync the config and force some of the UNKNOWN checks to run.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

Re: BPI Process Unknown after 5.6.5 upgrade

Post by rferebee »

So, do I just add the extra line of text below the other settings?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: BPI Process Unknown after 5.6.5 upgrade

Post by cdienger »

Anywhere under the verify first line([PHP]) should be okay.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

Re: BPI Process Unknown after 5.6.5 upgrade

Post by rferebee »

Ok, I added the line and restarted apache again. No joy.

The logs keep referencing 'nagiosim' that you told me to remove (which I did).

[Mon Aug 19 13:37:37 2019] [error] [client 10.231.86.58] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/nagiosim/nagiosim.inc.php on line 491

Here's the output from the command in the separate line:

[nagios@nagiosxi-lv ~]$ php /usr/local/nagios/libexec/check_bpi.php DNSservice
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php.ini on line 440 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php.ini on line 450 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php.ini on line 459 in Unknown on line 0
PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/nagiosim/nagiosim.inc.php on line 491
Unknown BPI Group Index
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: BPI Process Unknown after 5.6.5 upgrade

Post by ssax »

Please create a ticket for this and include a link back to this forum thread so we can get a remote session setup:

Code: Select all

https://support.nagios.com/tickets/
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

Re: BPI Process Unknown after 5.6.5 upgrade

Post by rferebee »

I believe we can close this thread, Mr. Sax was able to resolve the issue.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: BPI Process Unknown after 5.6.5 upgrade

Post by scottwilkerson »

rferebee wrote:I believe we can close this thread, Mr. Sax was able to resolve the issue.
Great!

Locking
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked