Hello,
I have installed a metricbeat in an AIX 7.2 server and I need to obtain CPU usage values. The problem I have is these values seems not to reflect the current status of the hosts. This is an example:
- CPU usage values of an AIX server obtained from metricbeat today at 10:50AM (return a document each 10 seconds):
system.cpu.cores --> 16
system.cpu.total.pct --> 9.924
system.cpu.user.pct --> 9.497
system.cpu.system.pct --> 0.427
system.cpu.iowait.pct --> 0.002
system.cpu.idle.pct --> 6.074
- Values obtained from standard Topas Monitor in the same AIX server at the same time:
CPU User% --> 81.5
CPU Kern% --> 2.9
CPU Wait% --> 0.0
CPU Idle% --> 15.6
CPU Physc --> 3.76
CPU Entc% --> 187.97
- Values obtained in Dynatrace tool at the same time:
CPU User --> 80.1%
CPU system --> 2.92%
CPU I/O wait --> 0.009%
CPU idle --> 17%
It seems that Dynatrace is obtaining the same CPU metrics than Topas monitor (both based on perfstat API) but metricbeat values are totally different, because if the do the calcs for example with the CPU User, we would have the following:
(CPU User divide by the number of cores) * 100 = (9.497/16)*100 = 59.36%, so we have 20% less using metricbeat than in Dynatrace.
Does anybody knows what could be happening? The calc that I'm doing with the CPU usage divide by the number of cores is correct? If I modify the metricbeat specifying that I need the normalized values instead the current values, should I obtain the same values than now? I have discarded as well unexpected CPU peaks because all values 10 minutes after and before 10:50AM are returning similar values.
I'm lost with this because we use two tools (Dynatrace and Elastic) but the values are totally different on both, and we need to know what are the correct values (Dynatrace&Topas vs Elastic).
Many thanks in advance.
Best regards.
Juan M.
------------------------------
Juan Manuel García Fernández
------------------------------
#AIXOpenSource