How to calculate CPU Load Average
list Venkat Yadav
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
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 Bill Howe
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.
▸
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
I use this script as well in my environment and it works very well! (Thanks, Bill!!) -- Matt Vander Werf
▸
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
▸
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