localhost Current Load with multiple CPUs
Posted: Mon Feb 21, 2011 8:58 pm
I was looking at our Nagios XI server and noticed that it has a load of about 7 - 14 on average. This is a three CPU VM.
I was playing with the check_load command and noticed that there was the -r option that Divide the load averages by the number of CPUs.
without -r
with -r
I then modified the Currnet Load service to use the -r. This is great, the localhost is no longer going into warning and critical states. I can also see the before and after affects when looking at the performance graphs for Current Load.
However I've noticed that in the dashlet Server Statistics the load is still very high, it does not reflect the data for the Current Load service.
Question: Is there a way to make the dashlet Server Statistics match the service (use the -r option)
Suggestion: Change the Current Load service to use the -r option as the default setting. I know that the VM is distributed as a single CPU VM but it's less hassle to change it later on, also physical boxes are usually going to have > 1 CPU.
Nagios XI 2009R1.4B running on a VMware VM on an ESXi 4.1 host.
I was playing with the check_load command and noticed that there was the -r option that Divide the load averages by the number of CPUs.
without -r
Code: Select all
./check_load -w 5.0,4.0,3.0 -c 10.0,6.0,4.0
CRITICAL - load average: 14.27, 8.65, 8.25|load1=14.270;5.000;10.000;0; load5=8.650;4.000;6.000;0; load15=8.250;3.000;4.000;0;
Code: Select all
./check_load -w 5.0,4.0,3.0 -c 10.0,6.0,4.0 -r
OK - load average: 4.76, 2.88, 2.75|load1=4.757;5.000;10.000;0; load5=2.883;4.000;6.000;0; load15=2.750;3.000;4.000;0;
However I've noticed that in the dashlet Server Statistics the load is still very high, it does not reflect the data for the Current Load service.
Question: Is there a way to make the dashlet Server Statistics match the service (use the -r option)
Suggestion: Change the Current Load service to use the -r option as the default setting. I know that the VM is distributed as a single CPU VM but it's less hassle to change it later on, also physical boxes are usually going to have > 1 CPU.
Nagios XI 2009R1.4B running on a VMware VM on an ESXi 4.1 host.