Page 2 of 2

Re: Nagios is not proccesing

Posted: Thu Jul 30, 2020 10:55 am
by FCC_Nagios_Support
Only thanks for you for your hight Knowledge sharing.

We observed in guide:
Total Number of Hosts + Services RAM Disk Size
Less than 1000 100 MB
1000 to 5000 300 MB
More than 5000 500 MB

What will we do is using part of RAM to increase Nagios performance and letting part of RAM to help I/O Disk Files operations. Is in it?

we used 500MB when the scripts run and ask response to the script

[root@a2nagio001p mariadb]# ls -ltr /tmp/|grep -i ram
-rwxr-xr-x 1 root root 10301 Jul 28 17:22 install_ramdisk.sh
drwxr-xr-x 2 root root 29 Jul 30 12:07 ramdiskbackup
pwd
/tmp
./install_ramdisk
[root@a2nagio001p mariadb]#


MAny Thanks again

Many thanks seems to be tun

Re: Nagios is not proccesing

Posted: Thu Jul 30, 2020 4:52 pm
by benjaminsmith
MAny Thanks again
Many thanks seems to be tun
Great! I'll just keep this open for now.

Benjamin

Re: Nagios is not proccesing

Posted: Sun Aug 02, 2020 3:22 am
by FCC_Nagios_Support
Hello
It happened OK after RAMDISK during a backup I think, I avoid backup hoping answers.
tmpfs 500M 98M 403M 20% /var/nagiosramdisk


KR

Re: Nagios is not proccesing

Posted: Sun Aug 02, 2020 4:16 am
by FCC_Nagios_Support
Dear College,

The issue appeared again last night I think during the Nagios Backup.
I observed message queue locked with 12000 +- messages.
Whe this valued of ipcs -q is reached everything goes dowm.
I extract our performing features, if something could be modified or increased:
[root@a2nagio001p ~]# nproc --all
12
[root@a2nagio001p ~]# lscpu | grep 'CPU(s)'
CPU(s): 12
On-line CPU(s) list: 0-11
NUMA node0 CPU(s): 0-11
[root@a2nagio001p ~]# free
total used free shared buff/cache available
Mem: 24522088 2714156 7127880 1308512 14680052 19959008
Swap: 8388604 0 8388604
[root@a2nagio001p ~]#

MANY THANKS IN ADVANCE

Re: Nagios is not proccesing

Posted: Mon Aug 03, 2020 2:18 pm
by benjaminsmith
Hi,

If you're running a VM, I would consider increasing the number of CPU's on this system. At the current check load, hosts + services, Nagios needs to execute 134 checks per second, so it's having trouble keeping up. Increasing the check interval beyond 5 minutes where possible will be a big help. Additionally, go through the guide below to optimize the performance settings, Admin > Sys Config > Performance Settings, to help improve decrease the load.

Maximizing Performance In Nagios XI

Additionally, you may want to consider offloading some of the checks to remote workers using Mod Gearman or add an additional XI server to your environment if you plan to add more checks in the future.

https://assets.nagios.com/downloads/nag ... ios_XI.pdf

Re: Nagios is not proccesing

Posted: Wed Aug 05, 2020 12:45 am
by FCC_Nagios_Support
Hello College:

We have 12 CPUs:
[root@a2nagio001p ~]# lscpu | grep 'CPU(s)'
CPU(s): 12
On-line CPU(s) list: 0-11
NUMA node0 CPU(s): 0-11

How many CPUs do you advise?

Many Thanks in Advance

Re: Nagios is not proccesing

Posted: Wed Aug 05, 2020 2:42 pm
by benjaminsmith
Hi,

Looking over you profile and comparing to other large systems, you currently have 12 CPUs with 1 core each. I would recommend doubling that if possible or at least increasing this to 16 -24 CPU's.

Overall, there are many factors here, so these are only estimates as it depends on the setup and environment as well.

Re: Nagios is not proccesing

Posted: Fri Aug 07, 2020 5:14 am
by FCC_Nagios_Support
MAny Thanks College.
We increased to 16-
Becoming stable with no queueing.

KR

Re: Nagios is not proccesing

Posted: Fri Aug 07, 2020 7:46 am
by scottwilkerson
FCC_Nagios_Support wrote:MAny Thanks College.
We increased to 16-
Becoming stable with no queueing.

KR
Great! Gals to hear it

Locking thread