Page 1 of 1

Force sequential checks on services

Posted: Mon Jun 01, 2020 8:10 am
by giponino
Hi, I know this argument has been discussed about 4 years ago from other users, but i would like to know if this feature was officially implemented or not. What I need is to force a sequential run of some service checks, to avoid them to run in parallel (or have a maximum number running in parallel).

es. host A
service A
service B
service C

start service A
end service A
start service B
end service B
start service C
end service C

Thank you
Matteo

Re: Force sequential checks on services

Posted: Tue Jun 02, 2020 8:41 am
by benjaminsmith
Hi Matteo,

There is an option in the main configuration file called max_concurrent_checks that will limit the maximum number of parallel checks. I'm not quite certain when that option was introduced, but take a look at the Nagios Core documentation on Check Scheduling and let us know if this would meet your requirements.

Host and Service Check Scheduling

More details on the setting itself in the main config options documentation:

Main Configuration File Options