BPI missing objects again in 5.5.9

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

BPI missing objects again in 5.5.9

Post by dlukinski »

Hello Nagios Support

We are having troubles with BPI all over again (651 missing objects at a moment)

Issues are similar to https://support.nagios.com/forum/viewto ... 9&start=10

Long-term resolution is required

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

Re: BPI missing objects again in 5.5.9

Post by ssax »

Please PM me these files:

Code: Select all

/usr/local/nagiosxi/etc/components/bpi.conf
/usr/local/nagiosxi/etc/components/bpi.conf.backup
Send a screenshot of Home > BPI > Edit BPI Settings.

Please PM a copy of your profile as well.
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: BPI missing objects again in 5.5.9

Post by dlukinski »

ssax wrote:Please PM me these files:

Code: Select all

/usr/local/nagiosxi/etc/components/bpi.conf
/usr/local/nagiosxi/etc/components/bpi.conf.backup
Send a screenshot of Home > BPI > Edit BPI Settings.

Please PM a copy of your profile as well.
Please have BPI files and Profile attached
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 missing objects again in 5.5.9

Post by ssax »

Thank you, received.

Please update your max connections following this KB article:

https://support.nagios.com/kb/article.php?id=513

Let us know what they are currently set to and attach this files as well:

Code: Select all

/etc/php.ini
/etc/my.cnf
Additionally, as root, please send us the complete output of these commands:

Code: Select all

ulimit -a
su - nagios
ulimit -a
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: BPI missing objects again in 5.5.9

Post by dlukinski »

ssax wrote:Thank you, received.

Please update your max connections following this KB article:

https://support.nagios.com/kb/article.php?id=513

Let us know what they are currently set to and attach this files as well:

Code: Select all

/etc/php.ini
/etc/my.cnf
Additionally, as root, please send us the complete output of these commands:

Code: Select all

ulimit -a
su - nagios
ulimit -a

Please have files attached and ulimit outputs down below

Code: Select all


[root@fikc-nagxiprod01 ~]# ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 63677
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 10000
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) 131072
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
[root@fikc-nagxiprod01 ~]# su - nagios
[nagios@fikc-nagxiprod01 ~]$ ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 63677
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 10000
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) 1024
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

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 missing objects again in 5.5.9

Post by ssax »

Did you update your max connections?

Those files look fine but I would look at increasing your nagios user's max user processes to at least 4096:

Code: Select all

max user processes              (-u) 1024
See here at the bottom for instructions:

Code: Select all

https://support.nagios.com/kb/article/nagios-xi-last-check-time-not-updating-19.html
Do you have any other files in /etc/my.cnf.d?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: BPI missing objects again in 5.5.9

Post by ssax »

I think it's the AGILON-all group (one is a hostgroup, one is a servicegroup) causing this duplicate issue but I'm labbing it up in your version now.
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: BPI missing objects again in 5.5.9

Post by dlukinski »

ssax wrote:I think it's the AGILON-all group (one is a hostgroup, one is a servicegroup) causing this duplicate issue but I'm labbing it up in your version now.
Hi

AGILON groups were removed while ago

Does not make sense?
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: BPI missing objects again in 5.5.9

Post by dlukinski »

ssax wrote:Did you update your max connections?

Those files look fine but I would look at increasing your nagios user's max user processes to at least 4096:

Code: Select all

max user processes              (-u) 1024
See here at the bottom for instructions:

Code: Select all

https://support.nagios.com/kb/article/nagios-xi-last-check-time-not-updating-19.html
Do you have any other files in /etc/my.cnf.d?
Hi

Where do I edit max user processes ?
- unsure from the manual
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: BPI missing objects again in 5.5.9

Post by ssax »

See 2. from this guide:

https://www.thegeekdiary.com/how-to-set ... -rhel-567/

Code: Select all

grep nproc /etc/security/limits.conf
Make sure to check here as well (sometimes the defaults are modified in this directory as well which may override your settings):

Code: Select all

grep nproc /etc/security/limits.d/*
Does your current BPI config (/usr/local/nagiosxi/etc/components/bpi.conf) contain AGILON-all?

The ones you previously provided DID contain it so I want to understand where the discrepancy is.

If you go to Configure > Core Config Manager > Hostgroups AND Servicegroups and search for AGILON-all neither hostgroup or servicegroup exists?
Locked