service_interleave_factor=1 not working.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sac1472
Posts: 66
Joined: Thu May 25, 2017 5:06 am

service_interleave_factor=1 not working.

Post 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 ?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: service_interleave_factor=1 not working.

Post by scottwilkerson »

Can you elaborate more on what you are seeing?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
sac1472
Posts: 66
Joined: Thu May 25, 2017 5:06 am

Re: service_interleave_factor=1 not working.

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: service_interleave_factor=1 not working.

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
sac1472
Posts: 66
Joined: Thu May 25, 2017 5:06 am

Re: service_interleave_factor=1 not working.

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: service_interleave_factor=1 not working.

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
sac1472
Posts: 66
Joined: Thu May 25, 2017 5:06 am

Re: service_interleave_factor=1 not working.

Post 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 ?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: service_interleave_factor=1 not working.

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
sac1472
Posts: 66
Joined: Thu May 25, 2017 5:06 am

Re: service_interleave_factor=1 not working.

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: service_interleave_factor=1 not working.

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked