I'll get the new profiler patch up today, once it's in it'll be trivial to =
measure this.
Sincerely,
Steve
________________________________________
From: Andreas Ericsson [[email protected]]
Sent: Wednesday, June 17, 2009 3:00 AM
To: Nagios Developers List
Subject: Re: [Nagios-devel] Max concurrent checks - spreading the next_time
Mark Eisenblaetter wrote:
> Hi Toon,
>
> i have not tested it but i think it could have an konzeptionel problem.
>
> If the intervall ist smaller then the window it's possible to some checks
> will never be checked.
>
> In the default values it is possible that nagios will chose evey 30 secs =
the
> same check to move it 180secs away.
>
> So i haven't test it till now.
>
The randomization thing will almost certainly make sure that doesn't happen.
To be 100% certain it doesn't happen, one has to inspect the elements queued
for running and make a weighting of them to see how long ago something was
actually checked before making the decision on what to check.
Or one could simply iterate linearly over the event-list, which would cause
latency to increase slowly if max_concurrent_checks is set too low, but wou=
ld
ensure that checks are run in the order they are scheduled. In order to make
sure checks are run in the approximate time they're scheduled to run, this =
is
probably the best bet. I'll need to investigate that though and I'm sorely
short on time now both due to Merlin/Ninja and due to recreational activiti=
es
taking place during the summer.
Any other takers on this? The questions that need answering are:
1. How does this affect the high/low prio list?
2. How much does latency increase (latency has to be re-calculated for each
re-scheduled check as well as for all checks that happen off-time).
3. How does it affect the load on the system? Are we currently spending too
much time re-scheduling checks so we'd actually gain "checks-per-second"
performance by just iterating linearly over the list?
Once we know the above, writing the code will probably be quite trivial.
--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.
---------------------------------------------------------------------------=
---
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Nagios-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/lis ... gios-devel
NOTICE: This email message is for the sole use of the intended recipient(s=
) and may contain confidential and privileged information. Any unauthorized=
review, use, disclosure or distribution is prohibited. If you are not the =
intended recipient, please contact the sender by reply email and destroy al=
l copies of the original message.
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: ndreas Ericsson [[email protected]