Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
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
}
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.
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?
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.
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
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.