We have an Item in a template for AIX servers using key, "system.stat[cpu,pc]". This seems to work correctly on AIX "Shared CPU" servers, but incorrectly on AIX "Dedicated CPU" servers.
First, a Shared CPU server - here is some CPU usage output from vmstat:
In this case, the "pc" column is very close to the data that the Zabbix agent gathers, as would be expected.
Here is some example output from a Dedicated CPU server:
In this case, there is no "pc" column, but the "id" column indicates that the CPU usage is almost 100% idle. However, the Zabbix agent item returns values that are mostly around 4.0, although some are as high as 10. There are 4 physical CPUs dedicated to this server, so it almost seems like it is capture the CPU idle value, although that wouldn't explain the values as high as 10.
I'm attaching two files to this ticket, one from a Dedicated CPU server (aixXXXXX) and one from a Shared CPU server (urmXXXXX).
Each file contains output from the "lparstat -i" command which gives resource allocation allocation information. Each file also contains CPU usage via the "vmstat" command.
At the end, I've placed some data that the Zabbix agent is capturing during similar CPU usage, to compare to the output from vmstat.
The Zabbix server is v5.0.7 and the AIX agent is v5.0.8
Later we figured out that there is another key which is supporting additional options for AIX, so we changed key to
Even if the “system” parameter may not include everything (user,iowait,idle), the examples are showing values that are higher than the number of CPUs allocated to the LPAR, so that doesn’t seem correct.
Below is an example of an LPAR with a much higher CPU allocation and utilization. In this case, the values don’t go higher than the number of allocated virtual CPUs (80), but they don’t match the other monitoring software either (although, it could be a difference between “system” usage and “full” cpu usage).
The second monitoring tool is monitoring overall cpu usage in terms of the number of physical cpu’s consumed.