Page 2 of 2

Re: BPI Process Unknown after 5.6.5 upgrade

Posted: Mon Aug 19, 2019 1:26 pm
by rferebee
I made these changes (minus the setting that wasn't preset in my config file) and it's still not working.

Re: BPI Process Unknown after 5.6.5 upgrade

Posted: Mon Aug 19, 2019 1:59 pm
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.

Re: BPI Process Unknown after 5.6.5 upgrade

Posted: Mon Aug 19, 2019 2:07 pm
by rferebee
So, do I just add the extra line of text below the other settings?

Re: BPI Process Unknown after 5.6.5 upgrade

Posted: Mon Aug 19, 2019 3:30 pm
by cdienger
Anywhere under the verify first line([PHP]) should be okay.

Re: BPI Process Unknown after 5.6.5 upgrade

Posted: Mon Aug 19, 2019 3:37 pm
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

Re: BPI Process Unknown after 5.6.5 upgrade

Posted: Tue Aug 20, 2019 9:34 am
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/

Re: BPI Process Unknown after 5.6.5 upgrade

Posted: Thu Aug 22, 2019 10:19 am
by rferebee
I believe we can close this thread, Mr. Sax was able to resolve the issue.

Re: BPI Process Unknown after 5.6.5 upgrade

Posted: Thu Aug 22, 2019 10:20 am
by scottwilkerson
rferebee wrote:I believe we can close this thread, Mr. Sax was able to resolve the issue.
Great!

Locking