service_interleave_factor=1 not working.
service_interleave_factor=1 not working.
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 ?
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.
Can you elaborate more on what you are seeing?
Re: service_interleave_factor=1 not working.
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
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.
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.
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.
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
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.
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.
there is no way to make it happen like this currently.
Re: service_interleave_factor=1 not working.
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 ?
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.
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 secondssac1472 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 ?
Re: service_interleave_factor=1 not working.
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
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.
This would be a delay between all service checks.
Here is the documentation on that subject
https://assets.nagios.com/downloads/nag ... heck_delay
Here is the documentation on that subject
https://assets.nagios.com/downloads/nag ... heck_delay