Nagios is not proccesing

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
FCC_Nagios_Support
Posts: 161
Joined: Tue Mar 10, 2020 11:07 am

Re: Nagios is not proccesing

Post 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
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Nagios is not proccesing

Post by benjaminsmith »

MAny Thanks again
Many thanks seems to be tun
Great! I'll just keep this open for now.

Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
FCC_Nagios_Support
Posts: 161
Joined: Tue Mar 10, 2020 11:07 am

Re: Nagios is not proccesing

Post 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
FCC_Nagios_Support
Posts: 161
Joined: Tue Mar 10, 2020 11:07 am

Re: Nagios is not proccesing

Post 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
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Nagios is not proccesing

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
FCC_Nagios_Support
Posts: 161
Joined: Tue Mar 10, 2020 11:07 am

Re: Nagios is not proccesing

Post 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
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Nagios is not proccesing

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
FCC_Nagios_Support
Posts: 161
Joined: Tue Mar 10, 2020 11:07 am

Re: Nagios is not proccesing

Post by FCC_Nagios_Support »

MAny Thanks College.
We increased to 16-
Becoming stable with no queueing.

KR
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios is not proccesing

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked