I can't get the cpu utilization monitoring to work on a multiprocessor HP-UX B.11.31 U ia64 system.
Total total utilization displays fine, but if I want to graph it by core, it reports that half of the cpu's are idle, while they are not.
The client side is HP RX6600 with 4 dual core processors.
Both Zabbix Server and Agent are version 1.8.3.
Zabbix server is able to find all 8 cores:
[root@monitoring ~]# zabbix_get -s myserver -k system.cpu.num 8
When checkin the utilization with top command, I get this picture:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS 0 1.15 61.6% 20.1% 3.4% 14.9% 0.0% 0.0% 0.0% 0.0% 2 1.53 75.1% 3.8% 3.4% 17.7% 0.0% 0.0% 0.0% 0.0% 4 1.52 69.6% 21.7% 3.8% 5.0% 0.0% 0.0% 0.0% 0.0% 6 1.51 82.9% 6.4% 4.2% 6.6% 0.0% 0.0% 0.0% 0.0% 8 1.34 82.7% 0.6% 3.6% 13.1% 0.0% 0.0% 0.0% 0.0% 10 1.22 78.1% 6.4% 3.0% 12.5% 0.0% 0.0% 0.0% 0.0% 12 1.23 62.6% 17.3% 4.4% 15.7% 0.0% 0.0% 0.0% 0.0% 14 1.17 54.3% 24.5% 4.2% 17.1% 0.0% 0.0% 0.0% 0.0% --- ---- ----- ----- ----- ----- ----- ----- ----- ----- avg 1.33 70.8% 12.7% 3.6% 12.9% 0.0% 0.0% 0.0% 0.0%
The utilization numbers here are not exactly the same because of human delay, but the general idea should stand out.
[root@monitoring ~]# zabbix_get -s myserver -k system.cpu.util[0,,] 70.417423 [root@monitoring ~]# zabbix_get -s myserver -k system.cpu.util[1,,] 0.000000 [root@monitoring ~]# zabbix_get -s myserver -k system.cpu.util[2,,] 85.233460 [root@monitoring ~]# zabbix_get -s myserver -k system.cpu.util[3,,] 0.000000 [root@monitoring ~]# zabbix_get -s myserver -k system.cpu.util[4,,] 84.339934 [root@monitoring ~]# zabbix_get -s myserver -k system.cpu.util[5,,] 0.000000 [root@monitoring ~]# zabbix_get -s myserver -k system.cpu.util[6,,] 78.993399 [root@monitoring ~]# zabbix_get -s myserver -k system.cpu.util[7,,] 0.000000
...just in case, I also tried numbers up to 16, but everyting above 7 became ZBX_NOTSUPPORTED
I can easily reproduce this behaviour on multiple HP-UX Itanium servers.