Page 1 of 1
check_load parameters
Posted: Tue Aug 13, 2013 8:30 pm
by stecino
Can someone decode this for me please?
check_nrpe!check_load -a 15,10,5 30,25,20
I know it's doing a load check for 1sminute, 5th minute and 15th minute
But what are are these arguments mean?
Re: check_load parameters
Posted: Wed Aug 14, 2013 10:38 am
by abrist
From the plugin's usage:
Usage:check_load [-r] -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15
The first three arguments are the warning threshold for load over 1,5, and15 minutes respectively, and the the last three are the critical thresholds for 1,5, and 15 minutes respectively.
Re: check_load parameters
Posted: Thu Aug 15, 2013 12:10 pm
by stecino
I get that, I just want to know to what threshold level are we checking (numbers, percents)
Re: check_load parameters
Posted: Thu Aug 15, 2013 12:34 pm
by slansing
You are checking the Linux system's load, which pulls from the same three parameters and numeric values you get when you run a TOP this is an average of those values as abrist pointed out above.
http://blog.scoutapp.com/articles/2009/ ... d-averages
Re: check_load parameters
Posted: Thu Aug 15, 2013 4:46 pm
by stecino
I get that, but what combination of 3 numbers is considered as warning for example?
0.70, 0.70.0.70 ??
Re: check_load parameters
Posted: Thu Aug 15, 2013 4:52 pm
by abrist
Any of them will cause an alarm if the threshold is reached. Load is calculated in temporal chunks, each one of the those values (depending on its position) represents load averaged over the respective period of time. So a warning setting of:
Would warn you *if*:
average load is over 2.0 in the previous minute
average load is over 1.5 in the previous 5 minutes
average load is over 1.0 in the previous 15 minutes
Make sense now?
Re: check_load parameters
Posted: Sat Aug 17, 2013 6:23 pm
by stecino
Got it thanks
Re: check_load parameters
Posted: Mon Aug 19, 2013 10:16 am
by slansing
Do you have any further questions on this topic?
Re: check_load parameters
Posted: Thu May 19, 2016 10:50 am
by theone
i have my nrpe.cfg file set like this for check_load..
check_load -w 0.8,0.7,0.6 -c 0.95,0.85,0.8
But I continue to get these alerts...
***** Nagios XI Alert *****
Nagios has detected a problem with this service.
Notification Type: PROBLEM
Service: Current Load
State: WARNING
Info:
WARNING - load average: 7.75, 10.05, 7.22
Date/Time: 2016-05-19 03:39:56
What can I do to set the levels to where I can stop getting alerts/warnings ?