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?
check_load parameters
Re: check_load parameters
From the plugin's usage:
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.Usage:check_load [-r] -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: check_load parameters
I get that, I just want to know to what threshold level are we checking (numbers, percents)
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: check_load parameters
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
http://blog.scoutapp.com/articles/2009/ ... d-averages
Re: check_load parameters
I get that, but what combination of 3 numbers is considered as warning for example?
0.70, 0.70.0.70 ??
0.70, 0.70.0.70 ??
Re: check_load parameters
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?
Code: Select all
2.0,1.5,1.0average 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?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: check_load parameters
Do you have any further questions on this topic?
Re: check_load parameters
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 ?
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 ?