ndo2db queues filling and BPI checks timing out

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: ndo2db queues filling and BPI checks timing out

Post by tgriep »

OK, thanks.
Be sure to check out our Knowledgebase for helpful articles and solutions!
perric
Posts: 161
Joined: Fri Mar 28, 2014 10:37 am

Re: ndo2db queues filling and BPI checks timing out

Post 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
perric
Posts: 161
Joined: Fri Mar 28, 2014 10:37 am

Re: ndo2db queues filling and BPI checks timing out

Post 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.
perric
Posts: 161
Joined: Fri Mar 28, 2014 10:37 am

Re: ndo2db queues filling and BPI checks timing out

Post 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.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: ndo2db queues filling and BPI checks timing out

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
perric
Posts: 161
Joined: Fri Mar 28, 2014 10:37 am

Re: ndo2db queues filling and BPI checks timing out

Post 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.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: ndo2db queues filling and BPI checks timing out

Post by lmiltchev »

Sounds good! Let us know if you have any issues/questions after the upgrade.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked