<div dir="ltr">You can handle load spikes with the DURATION keyword in alerts.cfg.  The client normally samples every 5 minutes, so if a spike generally lasts for two samples you could set DURATION>13 to get alerts sent out on the 3rd sample.<div>
<br></div><div style>Ralph Mitchell</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 8, 2013 at 4:36 AM, Iain M Conochie <span dir="ltr"><<a href="mailto:iain@shihad.org" target="_blank">iain@shihad.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 2013-04-07 17:22, Operaciones wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thank you Ryan, one ask, are there eny way for calc this?, or you<br>
suggest taht the better way is testing in each server?<br>
</blockquote>
<br></div>
Load average is a logarithmic method of measuring the run queue on your system. The output of the 3 values gives you the run queue over 1 minute, 5 minutes and 15 minutes respectively.<br>
<br>
An old rule of thumb was to have a load average of not greater than 2 per cpu, but this is generally site dependent. Are you going to be sending out alerts for a high load? Do you _really_ want to be woken at 2AM cos the backup job has spiked the load?<br>

<br>
I would advise you set the threshold a bit higher for your system (perhaps 8.0 and 16.0, based on 4 cores) and then after a suitable time period (perhaps 2 weeks) you can look at the CPU load graph to see what kind of usage the system has and adjust accordingly. During this time you probably don't want to send out alerts (but perhaps you do; your call :) IMO, normally a spike in load is not an issue, but a a system that over 6 months has an ever increasing load is a problem. This is where the trends analysis function comes into it's own.<br>

<br>
OF course load spikes can impact performance, but it is hard to gauge exactly what that impact is from the load average alone.<br>
<br>
Cheers<br>
<br>
Iain<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
El 07/04/13 18:16, Novosielski, Ryan escribió:<br>
<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
This default is a reasonably nice default for a single CPU system,<br>
but this is really a parameter that is site-dependent. For example,<br>
I have a 24 CPU compute server. A load of 5 is hardly breaking a<br>
sweat. In some cases, high load doesn't even affect the system and<br>
you wouldn't want to be notified until a normally unreasonably high<br>
value. I'd suspect 10.0 15.0 for your system or 15.0 20.0 might not<br>
be a bad guess.<br>
<br>
 <br>
<br></div>
FROM: Operaciones [mailto:<a href="mailto:operaciones@corpresa.com" target="_blank">operaciones@corpresa.<u></u>com</a> [1]]<br>
SENT: Sunday, April 07, 2013 10:58 AM<br>
TO: Xymon List <<a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a>> [2]<br>
SUBJECT: [Xymon] Fwd: About CPU load<div class="im"><br>
 <br>
I forget, the default params that appear in this file are:<br>
<br>
LOAD    5.0 10.0<br>
<br>
Thank you, best regards.<br>
<br>
-------- Mensaje original --------<br>
<br></div>
ASUNTO:<br>
About CPU load<br>
<br>
FECHA:<div class="im"><br>
Sun, 07 Apr 2013 16:56:32 +0200<br>
<br></div>
DE:<br>
Operaciones <<a href="mailto:operaciones@corpresa.com" target="_blank">operaciones@corpresa.com</a>> [3]<br>
<br>
PARA:<br>
<a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a> [4]<div class="im"><br>
<br>
Hello,<br>
<br>
I'm using xymon 4.3.5, my as is the follow:<br>
<br>
Is correct the default params that appear on "analysis.cfg" for<br>
chect the cpu load in case that the server have 4 cores (intel xeon<br>
1230)?, can i use this values for anyone CPU types?<br>
<br>
Thank you, best regards.<br>
</div></blockquote>
<br>
<br>
<br>
Links:<br>
------<br>
[1] mailto:<a href="mailto:operaciones@corpresa.com" target="_blank">operaciones@corpresa.<u></u>com</a><br>
[2] mailto:<a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
[3] mailto:<a href="mailto:operaciones@corpresa.com" target="_blank">operaciones@corpresa.<u></u>com</a><br>
[4] mailto:<a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/<u></u>mailman/listinfo/xymon</a><br>
</blockquote></div><br></div>