Page 2 of 2

Re: ndo2db queues filling and BPI checks timing out

Posted: Fri Oct 26, 2018 3:00 pm
by tgriep
OK, thanks.

Re: ndo2db queues filling and BPI checks timing out

Posted: Fri Oct 26, 2018 3:15 pm
by perric
Even with the Nagios BPI checks disabled, the queue is still filling. What's the fastest way to completely disable BPI without losing all of the work in setting it up? Move the BPI config to a temp location?

We're on 5.5.3, not 5.3.5 as I stated earlier; which version was this issue introduced?
Just strange that it started today with no issues for the last 2 months post upgrade

Re: ndo2db queues filling and BPI checks timing out

Posted: Fri Oct 26, 2018 4:04 pm
by perric
Ok, so some progress has been made.

Based on another post I checked out the http logs and saw this a lot in error_log
Fri Oct 26 16:43:36 2018] [error] [client 10.101.240.78] PHP Notice: Undefined index: USWSHVM01-iLO in /usr/local/nagiosxi/html/includes/components/nagiosbpi/classes/BpGroup_class.php on line 0, referer: http://nagios/nagiosxi/includes/compone ... hostgroups

I went into the BPI page and got this error:

The current BPI config has 6 missing objects. Missing objects will show up as having an UNKNOWN or UNREACHABLE status.
BPI Group Host
USServers USWSHVM01-iLO
USAll USWSHVM01-iLO
RemoteServers USWSHVM01-iLO
HPremotehostiLOs USWSHVM01-iLO
AllDevices USWSHVM01-iLO
BPI Group Host Service
Tier1SLA BPI US DSI Server


The top section is from a host that was removed out of Nagios CCM but for some reason did not get removed on the auto host group generation for BPI. (Side note, is host and service group auto BPI creation new? Is there any way to fully disable it? We use a lot of host groups and don't need BPI over them).

I went to the hostgroups page and pressed "Sync hostgroups", and about 5 minutes the queue had cleared and all seems to be working ok.
I still have the bottom BPI service error but will dig a bit more to find out what's going on there.

Re: ndo2db queues filling and BPI checks timing out

Posted: Fri Oct 26, 2018 4:46 pm
by perric
To note, I also had this issue after getting the BPI definition clean
https://support.nagios.com/forum/viewto ... 16&t=49962

The fix in the thread of restarting services corrected the issue.

Re: ndo2db queues filling and BPI checks timing out

Posted: Mon Oct 29, 2018 8:43 am
by tgriep
In XI 5.5.1, there is an option to turn off the Syncing of Host and Service groups and the removal of Hosts and Services.
To disable them, go to the Home > BPI menu and click on the Edit BPI Settings button.
In there , you can disable the above settings.

Is the Kernel Message Queues still filling up on the server after all that was done to the server?

Re: ndo2db queues filling and BPI checks timing out

Posted: Mon Oct 29, 2018 8:47 am
by perric
As of this morning, we are still good on queue length as well as Nagios performance.
I have not re-enabled the Nagios BPI checks yet, will do so after the 5.5.5 upgrade.

Re: ndo2db queues filling and BPI checks timing out

Posted: Mon Oct 29, 2018 11:12 am
by lmiltchev
Sounds good! Let us know if you have any issues/questions after the upgrade.