The discovery of new CPU on my machines is not working as expected.
I can call all the cpu info but when i call the number of cpu it returns only 2
[zabbix@zbxserv ~]$ /etc/zabbix/zabbix_get -s server.name -p 10050 -k system.hw.cpu[0]
processor 0: GenuineIntel Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz working at 2700MHz
[zabbix@zbxserv ~]$ /etc/zabbix/zabbix_get -s server.name -p 10050 -k system.hw.cpu[1]
processor 1: GenuineIntel Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz working at 2700MHz
[zabbix@zbxserv ~]$ /etc/zabbix/zabbix_get -s server.name -p 10050 -k system.hw.cpu[2]
processor 2: GenuineIntel Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz working at 2700MHz
[zabbix@zbxserv ~]$ /etc/zabbix/zabbix_get -s server.name -p 10050 -k system.hw.cpu[3]
processor 3: GenuineIntel Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz working at 2700MHz
[zabbix@zbxserv ~]$ /etc/zabbix/zabbix_get -s server.name -p 10050 -k system.cpu.discovery
{"data":[{"{#CPU.NUMBER}":0,"{#CPU.STATUS}":"online"},{" {#C PU.NUMBER}":1,"{#CPU.STATUS}":"online"}]}
If i look at lscpu it gives 4 as expected...
[Mon Feb 26 12:39:19 waarddd@MyHost:~ ] $ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 4
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 26
Model name: Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz
what is going wrong here?
I can call all the cpu info but when i call the number of cpu it returns only 2
[zabbix@zbxserv ~]$ /etc/zabbix/zabbix_get -s server.name -p 10050 -k system.hw.cpu[0]
processor 0: GenuineIntel Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz working at 2700MHz
[zabbix@zbxserv ~]$ /etc/zabbix/zabbix_get -s server.name -p 10050 -k system.hw.cpu[1]
processor 1: GenuineIntel Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz working at 2700MHz
[zabbix@zbxserv ~]$ /etc/zabbix/zabbix_get -s server.name -p 10050 -k system.hw.cpu[2]
processor 2: GenuineIntel Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz working at 2700MHz
[zabbix@zbxserv ~]$ /etc/zabbix/zabbix_get -s server.name -p 10050 -k system.hw.cpu[3]
processor 3: GenuineIntel Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz working at 2700MHz
[zabbix@zbxserv ~]$ /etc/zabbix/zabbix_get -s server.name -p 10050 -k system.cpu.discovery
{"data":[{"{#CPU.NUMBER}":0,"{#CPU.STATUS}":"online"},{" {#C PU.NUMBER}":1,"{#CPU.STATUS}":"online"}]}
If i look at lscpu it gives 4 as expected...
[Mon Feb 26 12:39:19 waarddd@MyHost:~ ] $ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 4
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 26
Model name: Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz
what is going wrong here?