Page 1 of 1

Nagios query

Posted: Mon May 03, 2021 5:22 am
by kalyanpabolu
Hi Team,

I want to understand what is the unit of CPU load in Nagios graph. I f you see in graph, 112.14 is the 5 minutes load average. But we want to understand what is the unit of this value?

Is it minutes or seconds or something else?

Re: Nagios query

Posted: Mon May 03, 2021 12:03 pm
by dchurch
The range of the graph is in percentages-of-cpus utilized.

For instance if you have 2 CPU's, and CPU0 is utilized at 50% and CPU1 is utilized at 75%, the "load" calculated will be 125%. This is usually shown as 1.25.

The upper-bound of this measurement is equal to 1.0 * the number of logical CPU cores in your system, e.g. for a 4-core CPU the max is 4.0, or 400% CPU utilization.

The 1, 5, and 15-minute CPU load measurements come "free" with nearly all Unix/Linux variants. Free in that the system automatically collects this information to be polled at any time, and doesn't require a separate daemon measuring CPU usage and calculating an average -- it's built-in.

The "uptime" or the "w" command in Linux will show these values:

Code: Select all

$ uptime
 12:50:59 up 24 days, 20:56,  1 user,  load average: 1.36, 1.46, 1.48