Page 1 of 2

BPI missing objects again in 5.5.9

Posted: Thu May 30, 2019 2:53 pm
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

Re: BPI missing objects again in 5.5.9

Posted: Thu May 30, 2019 4:59 pm
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.

Re: BPI missing objects again in 5.5.9

Posted: Mon Jun 03, 2019 11:10 am
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

Re: BPI missing objects again in 5.5.9

Posted: Mon Jun 03, 2019 5:09 pm
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

Re: BPI missing objects again in 5.5.9

Posted: Fri Jun 07, 2019 1:46 pm
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


Re: BPI missing objects again in 5.5.9

Posted: Fri Jun 07, 2019 3:05 pm
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?

Re: BPI missing objects again in 5.5.9

Posted: Fri Jun 07, 2019 3:23 pm
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.

Re: BPI missing objects again in 5.5.9

Posted: Mon Jun 10, 2019 8:44 am
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?

Re: BPI missing objects again in 5.5.9

Posted: Mon Jun 10, 2019 8:54 am
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

Re: BPI missing objects again in 5.5.9

Posted: Mon Jun 10, 2019 1:14 pm
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?