Page 1 of 1

Trouble with scheduling function

Posted: Wed Oct 19, 2022 3:07 am
by anetyn
We are monitoring about 2000 devices with Nagios Core 4.4.6 and having a trouble with scheduling function.

When we use Nagios Core 4.4.3, there is no problem with it.
When we look into the source code, there is a bit change between 4.4.3 and 4.4.6 in terms of "check_delay".
Take a look at the following

Nagios Core 4.4.3
event.c:359
check_delay = ranged_urand(0, check_window(temp_service));

Nagios Core 4.4.6
event.c:359
check_delay = check_window(temp_service);

Can someone tell me the reason of the change?
I feel it is a kind of bug.

Re: Trouble with scheduling function

Posted: Tue Jan 17, 2023 7:31 pm
by anetyn
Hi.

This was confirmed to be a bug.
I created a Pull Request and had it committed.

https://github.com/NagiosEnterprises/na ... e/pull/887