Page 1 of 1
check_load output
Posted: Tue Mar 26, 2013 6:51 am
by Rhobar
Hello World!
I have a new question for you
I'm using this definition in localhost.cfg:
Code: Select all
define service{
use local-service ; Name of service template to use
host_name localhost
service_description Current Load
check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0
}
and this definition in commands.cfg:
Code: Select all
# 'check_local_load' command definition
define command{
command_name check_local_load
command_line $USER1$/check_load -w $ARG1$ -c $ARG2$
}
this is the output:
Code: Select all
OK - load average: 0.21, 0.10, 0.05
what does it mean?
what is the significance of those numbers?
is there another way to view the output?
Re: check_load output
Posted: Tue Mar 26, 2013 7:35 am
by scottwilkerson
This is the 1 minute, 5 minute, 15 minute load on the localhost (your XI server)
http://en.wikipedia.org/wiki/Load_%28computing%29
Re: check_load output
Posted: Tue Mar 26, 2013 7:47 am
by Rhobar
they are everage values calculated in the last minute, last five minutes and 15 last minutes (in this order), is right?
and there ins't another way to display these values, right?
these values ranging from 0 to 1?
Re: check_load output
Posted: Tue Mar 26, 2013 9:33 am
by slansing
That is how system load is typically shown in "TOP" within Linux systems, and is how the plugin is formatted to return the plain text check data. You could possibly modify the plugin or create a new one to return what you would like.
Re: check_load output
Posted: Tue Mar 26, 2013 9:39 am
by abrist
Rhobar wrote:and there ins't another way to display these values, right?
these values ranging from 0 to 1?
Only for single-core systems, and it would be the same unit of measurement as load, and only if there was no wait. A load of "1.0" is one core and 100% percent utilization. Anything over implies that there was some wait involved. But if you had 4 cores, a load of "1.0" would imply that on average, all 4 cores are working at 25% of capacity with no wait. At load "4.0", the quad-core system will be at 100% utilization and anything over will imply that there was some wait.
You could look at plugins that may give you cpu usage percentage, as that would have a hard limit at 100%. I assume you want these numbers scaled differently for reporting/graphing?
http://blog.scoutapp.com/articles/2009/ ... d-averages
Re: check_load output
Posted: Fri Mar 29, 2013 4:23 am
by Rhobar
ok, that's all I wanted to know
thanks all
abrist wrote:
You could look at plugins that may give you cpu usage percentage, as that would have a hard limit at 100%. I assume you want these numbers scaled differently for reporting/graphing?
I can use these numbers too, but I needed to know what they mean exacty
Re: check_load output
Posted: Fri Mar 29, 2013 9:55 am
by slansing
Rhobar wrote:ok, that's all I wanted to know
thanks all
abrist wrote:
You could look at plugins that may give you cpu usage percentage, as that would have a hard limit at 100%. I assume you want these numbers scaled differently for reporting/graphing?
I can use these numbers too, but I needed to know what they mean exacty
Well, using a CPU specific check that has a percentage return would indicate the total used percentage at the time the check was ran, you could set this limit to say..50% and that would indicate that as a whole, your system's processor "all cores I should think" were operating at 50% of their maximum value at that time.
Re: check_load output
Posted: Wed Apr 03, 2013 5:59 am
by Rhobar
oooook
thanks all friends

Re: check_load output
Posted: Wed Apr 03, 2013 9:52 am
by slansing
Closing as resolved!