Nagios Host/Service Check Timeouts

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Nagios Host/Service Check Timeouts

Post by pbroste »

Hello @Dusan.Mandic

To follow up, we want to increase the ulimit on open files.

Let's check the system:

Code: Select all

cat /proc/sys/fs/file-max
We want this value to be; 1000000

Code: Select all

vi /etc/sysctl.conf
and specify the maximum number of open files permitted by increasing or adding

Code: Select all

fs.file-max = 1000000

Code: Select all

vi /etc/security/limits.conf
Increase or add the following:

Code: Select all

#open files
* soft nofile 1000000
* hard nofile 1000000
#max user processes
* hard nproc 65535
* soft nproc 65535
#stack size
* hard stack 20480
* soft stack 20480
* indicates for all users

These changes require a server reboot, so you will want to get that scheduled.

Please let us know how things look.

Thanks,
Perry
Dusan.Mandic
Posts: 60
Joined: Mon Apr 06, 2020 2:30 pm

Re: Nagios Host/Service Check Timeouts

Post by Dusan.Mandic »

Hello Perry, it seems that the load has settled in the 4's and I haven't seen random service check timeouts in a while. I think that we can close this one out
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Nagios Host/Service Check Timeouts

Post by pbroste »

Excellent, that is good to hear I will go ahead and lock it.
Locked