BPI Configuration Corrupt and Hostchecks Report Unknown BPI
Re: BPI Configuration Corrupt and Hostchecks Report Unknown
Since the upgrade to Nagios XI 5.7.5 this morning, things have gotten worse. The BPI configuration keeps getting erased when I apply a configuration, so we are unable to maintain the BPI checks. Here is a screenshot of the configuration backups.
You do not have the required permissions to view the files attached to this post.
Re: BPI Configuration Corrupt and Hostchecks Report Unknown
Collected these files while it is a good state:
Then apply the configuration again to reproduce the problem of the erasing the BPI config and collect the logs again. I'd like to see a before and after. I would also like to see a copy of the CCM database which can be gathered with:
Please send all the data to me via private message.
Code: Select all
/usr/local/nagiosxi/var/components/bpi.xml
/usr/local/nagiosxi/var/components/bpi.log
/usr/local/nagiosxi/etc/components/bpi.confCode: Select all
mysqldump -uroot -pnagiosxi nagiosql > nagiosql.sqlAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: BPI Configuration Corrupt and Hostchecks Report Unknown
The files have been sent. Thanks
Re: BPI Configuration Corrupt and Hostchecks Report Unknown
Just an update to let you know that I've received the files and loading them into a lab machine now to test. I'll update you later today or tomorrow.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: BPI Configuration Corrupt and Hostchecks Report Unknown
I've been able to reproduce with the data provided. I'm still digging into this, but it looks like it has to do with the "Remove missing hosts and services from all groups" option enabled on the settings page. It's an option that can be disabled as a potential temporary work around.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: BPI Configuration Corrupt and Hostchecks Report Unknown
Just checking back for an update. I've implemented the temporary workaround, but I've been apprehensive to enable the associated checks at this time.
Re: BPI Configuration Corrupt and Hostchecks Report Unknown
I don't have an update to share but will look into this again some more and will update you tomorrow.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: BPI Configuration Corrupt and Hostchecks Report Unknown
I'm pinging dev to get more eyes on this and will have another update tomorrow. Oddly it only seems to be a problem when applying configuration in the web interface. It doesn't seem to be a problem when applying from the command line or running the syncall directly:
Code: Select all
/usr/local/nagiosxi/scripts/reconfigure_nagios.sh
php /usr/local/nagiosxi/html/includes/components/nagiosbpi/api_tool.php --cmd=syncallAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: BPI Configuration Corrupt and Hostchecks Report Unknown
I recently upgraded to v5.8.2, then re-enabled "Remove missing hosts and services from all groups" to see if the issue was resolved with the upgrade, however it was not. Are there any updates from your end?
Thanks
Thanks
Re: BPI Configuration Corrupt and Hostchecks Report Unknown
First, edit this file:
Change this (line 287):
To:
Then see if that fixes it.
If it doesn't, try increasing Admin > Performance Settings > Subsystem > BPI Sync NDO Startup Timeout to a higher value (say like 300) and see if that fixes it.
If neither of those fixes it, please create a ticket for this and include a link back to this forum thread so we can get a remote session setup to investigate further:
https://support.nagios.com/tickets/
Thank you!
Code: Select all
/usr/local/nagiosxi/html/includes/components/nagiosbpi/api_tool.phpCode: Select all
$config_string = process_post($arr, $add);Code: Select all
$vars = array();
$config_string = process_post($arr, $add, $vars);If it doesn't, try increasing Admin > Performance Settings > Subsystem > BPI Sync NDO Startup Timeout to a higher value (say like 300) and see if that fixes it.
If neither of those fixes it, please create a ticket for this and include a link back to this forum thread so we can get a remote session setup to investigate further:
https://support.nagios.com/tickets/
Thank you!