Trouble with scheduling function

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Post Reply
anetyn
Posts: 2
Joined: Wed Oct 19, 2022 2:57 am

Trouble with scheduling function

Post 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.
anetyn
Posts: 2
Joined: Wed Oct 19, 2022 2:57 am

Re: Trouble with scheduling function

Post 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
Post Reply