Xymon Mailing List Archive search

How to calculate CPU Load Average

4 messages in this thread

list Venkat Yadav · Wed, 25 Oct 2017 09:19:29 +0530 ·
Hi Team,

1)Please help me how to calculate cpu load average i need to configure
alerts in xymon.
2)if i have 4 cores in server what is average load.
3)in xymon default values
   LOOAD 5.0 10.0
how to configured these values.
NOTE : which values based on configured defaults values (LOOAD 5.0 10.0 )
in xymon.

Regards
Venkat Yadav
list Ralph Mitchell · Wed, 25 Oct 2017 00:45:47 -0400 ·
Personally, I'd say that your warn and panic levels should be set to let
you know when something abnormal is happening, rather than trying to
calculate based on cores.  When you have a couple of weeks of cpu load data
in the graphs, you should be able to see the load average your server
normally runs at.  Set the warning level a bit above that so you get a
warning if some process starts hammering the cpu.  That'll tell you
something unexpected is starting.  Set the panic level somewhat higher.

Ralph Mitchell
quoted from Venkat Yadav


On Tue, Oct 24, 2017 at 11:49 PM, venkat v <user-90969bebdb2c@xymon.invalid> wrote:
Hi Team,

1)Please help me how to calculate cpu load average i need to configure
alerts in xymon.
2)if i have 4 cores in server what is average load.
3)in xymon default values
   LOOAD 5.0 10.0
how to configured these values.
NOTE : which values based on configured defaults values (LOOAD 5.0 10.0 )
in xymon.

Regards
Venkat Yadav

list Bill Howe · Fri, 01 Dec 2017 21:35:19 -0600 ·
If you would like to auto calculate CPU load based on cores, there is a
script posted to xymonton.org that can do that:
https://wiki.xymonton.org/doku.php/monitors:cpu-load-calc
Yes, a little self promotion as I wrote it, but its working well in our
environment and should do the trick for what you are trying to do.
quoted from Ralph Mitchell
BillOn Wed, 2017-10-25 at 00:45 -0400, Ralph Mitchell wrote:
Personally, I'd say that your warn and panic levels should be set to
let you know when something abnormal is happening, rather than trying
to calculate based on cores.  When you have a couple of weeks of cpu
load data in the graphs, you should be able to see the load average
your server normally runs at.  Set the warning level a bit above that
so you get a warning if some process starts hammering the cpu. 
That'll tell you something unexpected is starting.  Set the panic
level somewhat higher.

Ralph Mitchell


On Tue, Oct 24, 2017 at 11:49 PM, venkat v <user-90969bebdb2c@xymon.invalid>
wrote:
Hi Team,

1)Please help me how to calculate cpu load average i need to
configure alerts in xymon.
2)if i have 4 cores in server what is average load. 
3)in xymon default values 
   LOOAD 5.0 10.0 
how to configured these values.
NOTE : which values based on configured defaults values (LOOAD 5.0
10.0 ) in xymon.

Regards
Venkat Yadav

list Matt Vander Werf · Sat, 2 Dec 2017 07:00:36 -0500 ·
I use this script as well in my environment and it works very well!

(Thanks, Bill!!)

--
Matt Vander Werf
quoted from Bill Howe

On Fri, Dec 1, 2017 at 10:35 PM, Bill <user-851eeb93eef8@xymon.invalid> wrote:
If you would like to auto calculate CPU load based on cores, there is a
script posted to xymonton.org that can do that:

https://wiki.xymonton.org/doku.php/monitors:cpu-load-calc

Yes, a little self promotion as I wrote it, but its working well in our
environment and should do the trick for what you are trying to do.

Bill
quoted from Ralph Mitchell

On Wed, 2017-10-25 at 00:45 -0400, Ralph Mitchell wrote:

Personally, I'd say that your warn and panic levels should be set to let
you know when something abnormal is happening, rather than trying to
calculate based on cores.  When you have a couple of weeks of cpu load data
in the graphs, you should be able to see the load average your server
normally runs at.  Set the warning level a bit above that so you get a
warning if some process starts hammering the cpu.  That'll tell you
something unexpected is starting.  Set the panic level somewhat higher.

Ralph Mitchell


On Tue, Oct 24, 2017 at 11:49 PM, venkat v <user-90969bebdb2c@xymon.invalid>
wrote:

Hi Team,

1)Please help me how to calculate cpu load average i need to configure
alerts in xymon.
2)if i have 4 cores in server what is average load.
3)in xymon default values
   LOOAD 5.0 10.0
how to configured these values.
NOTE : which values based on configured defaults values (LOOAD 5.0 10.0 )
in xymon.

Regards
Venkat Yadav


Xymon mailing user-d459c9d661b6@xymon.invalid