Nagios query

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
kalyanpabolu
Posts: 246
Joined: Fri Jul 03, 2020 4:18 am

Nagios query

Post 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?
You do not have the required permissions to view the files attached to this post.
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Nagios query

Post 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
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.