Page 1 of 1

service_interleave_factor=1 not working.

Posted: Mon Aug 27, 2018 9:51 am
by sac1472
Hey ,
I want to schedule service checks to complete checks for one by one host. so for that i've configured below parameter.
service_interleave_factor=1

as per below link It should work. but still i'm seeing checks are interleaved by some value. as checks for one host are not scheduled in line.

https://assets.nagios.com/downloads/nag ... terleaving

could anyone please help me ?

Re: service_interleave_factor=1 not working.

Posted: Mon Aug 27, 2018 12:09 pm
by scottwilkerson
Can you elaborate more on what you are seeing?

Re: service_interleave_factor=1 not working.

Posted: Tue Aug 28, 2018 2:45 am
by sac1472
I'm seeing checks are still getting interleaved. however, i configured it to not interleave service checks.

i'm seeing something like below ----

https://assets.nagios.com/downloads/nag ... eaved1.png

Re: service_interleave_factor=1 not working.

Posted: Tue Aug 28, 2018 7:56 am
by scottwilkerson
If you use an interleave factor of 1, service check interleaving is basically disabled.

This does not guarantee that all the services for a host will be set sequentially, however, if you have interleaving turned on, it does guarantee they are spread out by the interleaving factor.

Re: service_interleave_factor=1 not working.

Posted: Tue Aug 28, 2018 8:16 am
by sac1472
Thanks for your reply.
But, could you suggest a way/workaround to schedule all service checks sequentially for host by host ?

I want to see result like below --

https://assets.nagios.com/downloads/nag ... eaved1.png

Re: service_interleave_factor=1 not working.

Posted: Tue Aug 28, 2018 8:37 am
by scottwilkerson
They would only ever line up exactly like this if it was the first time nagios started and wasn't using any state retention data for the last check/next check information.

there is no way to make it happen like this currently.

Re: service_interleave_factor=1 not working.

Posted: Tue Aug 28, 2018 10:17 am
by sac1472
so, You mean this can be possible if i deactivate all services & then re-activate all service checks. while not retaining scheduling info----

use_retained_scheduling_info=0

is that, correct ?

Re: service_interleave_factor=1 not working.

Posted: Tue Aug 28, 2018 11:03 am
by scottwilkerson
sac1472 wrote:so, You mean this can be possible if i deactivate all services & then re-activate all service checks. while not retaining scheduling info----

use_retained_scheduling_info=0

is that, correct ?
Well, yes, but only for the first scheduling. After the original schedule it is going to quickly diverge from that because nagios is going to auto-recalculate the check schedule every 30 seconds

Re: service_interleave_factor=1 not working.

Posted: Thu Aug 30, 2018 5:25 am
by sac1472
Well, if that's also not the way, then could you please tell me if below parameter guaranty 1 sec inter check delay between two consecutive service checks.
service_inter_check_delay_method=1

Re: service_interleave_factor=1 not working.

Posted: Thu Aug 30, 2018 7:46 am
by scottwilkerson
This would be a delay between all service checks.

Here is the documentation on that subject
https://assets.nagios.com/downloads/nag ... heck_delay