BPI Configuration Corrupt and Hostchecks Report Unknown BPI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
shoreypu
Posts: 134
Joined: Wed Mar 13, 2019 2:06 pm

BPI Configuration Corrupt and Hostchecks Report Unknown BPI

Post by shoreypu »

I've been having an intermittent issue where where my BPI configuration seems to become corrupted. Our host checks that utilize check_bpi to provide the status of some BPI service groups start reporting the status "Unknown BPI Group Index". If I look at the BPI config, I see a number of blank lines. This time around, I've noticed that all of the service groups are missing. I don't know right now if any of the host groups are missing.

If I apply configuration, without making any changes, the configuration partially returns. All of the service groups return, however the Warning and Critical thresholds that I configured are missing.

I thought this problem was resolved by updating our naming conventions, but the problem has now returned.

I'm running Nagios XI 5.6.13.

Any assistance is greatly appreciated.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: BPI Configuration Corrupt and Hostchecks Report Unknown

Post by cdienger »

What version of the BPI component is installed? Check under Admin > System Extensions > Manage Components. You can also view setting details of the component by clicking the Edit Settings icon. Please provide a screenshot of the settings as well as a copy of /usr/local/nagiosxi/var/components/bpi.log.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
shoreypu
Posts: 134
Joined: Wed Mar 13, 2019 2:06 pm

Re: BPI Configuration Corrupt and Hostchecks Report Unknown

Post by shoreypu »

Nagios BPI version is 2.8.3

The bpi.log only has one line in it: BEGIN BPI LOG 1569352008
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: BPI Configuration Corrupt and Hostchecks Report Unknown

Post by ssax »

Please PM me a copy of your profile, you can download it from Admin > System Profile by clicking the Download Profile button.

I do know they change the way BPI works in XI 5.7+ (has revisioning now), the spaces usually aren't an , PM this file as well:

Code: Select all

/usr/local/nagiosxi/etc/components/bpi.conf
Additionally, I would increase the XML cache threshold from your screenshot to 120 and see if that helps.
shoreypu
Posts: 134
Joined: Wed Mar 13, 2019 2:06 pm

Re: BPI Configuration Corrupt and Hostchecks Report Unknown

Post by shoreypu »

I wasn't sure if I PM'd you the system profile and BPI.conf, so I just sent you the latest versions.

John
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: BPI Configuration Corrupt and Hostchecks Report Unknown

Post by ssax »

Ok, thanks. Try editing your Home > BPI > Edit BPI Settings and change the XML cache threshold to 120 to see if that helps.

What group was it saying was having the issue, I don't see any of those errors in the logs to determine what they are.
shoreypu
Posts: 134
Joined: Wed Mar 13, 2019 2:06 pm

Re: BPI Configuration Corrupt and Hostchecks Report Unknown

Post by shoreypu »

I've updated the XML Cache Threshold to 120 seconds, but I guess we won't know if that resolves it unless the errors occur again.

On the most recent error, I noticed that all of the service groups were missing from the bpi config. When that happened, every host that I have configured, that uses the BPI service group check as the the check command, came in as critical with the error.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: BPI Configuration Corrupt and Hostchecks Report Unknown

Post by ssax »

The only thing I can think is that if the system wasn't completely up when the cache file was updated it could cause that, that's why I was having you try increasing the XML Cache Threshold to see if that alleviates it.

What do you have set in Admin > Unconfigured Objects > Auto Configure Settings for these?

Code: Select all

Automatically import host/services into the CCM with templates applied below
Automatically apply configuration after import of configs
I'm wondering if you have auto-apply enabled, if so, try disabling that if that XML Cache Threshold doesn't fix it to see if that alleviates it.

I would probably go to XI 5.7 latest where they re-wrote a lot of the BPI stuff (and included revisioning) so that we can see what is occurring. Otherwise, once it starts failing on your current system, grab any error output you are seeing and these files and send them to us (when it's failing):

Code: Select all

/usr/local/nagiosxi/var/components/bpi.xml
/usr/local/nagiosxi/var/components/bpi.log
/usr/local/nagiosxi/etc/components/bpi.conf
shoreypu
Posts: 134
Joined: Wed Mar 13, 2019 2:06 pm

Re: BPI Configuration Corrupt and Hostchecks Report Unknown

Post by shoreypu »

Both Automatically import host/services into the CCM with templates applied below and Automatically apply configuration after import of configs are not enabled.

I'll look at scheduling an upgrade to v 5.7.

Thanks
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: BPI Configuration Corrupt and Hostchecks Report Unknown

Post by cdienger »

Thanks for the update. Please update us once you've had a chance to upgrade.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked