Hello,
I've just configured the item system.hw.cpu to be collected and used to automatically populate inventory CPU field for the host.
However, for multi-CPU machines the values are multi-line:
..but in the inventory only the first line is saved. Thus the inventory does not show the whole truth on how many CPUs a host has.
Is it possible somehow to populate the inventory with the last line of the CPU list?
Last line would be cool, since if it is something like processor 3: GenuineIntel QEMU Virtual CPU version 0.12.3 working at 2526MHz] then the admin looking at the inventory can directly spot from processor 3 that the host must have 4 CPUs. Currently the inventory always shows processor 0 which is not that good..
I've just configured the item system.hw.cpu to be collected and used to automatically populate inventory CPU field for the host.
However, for multi-CPU machines the values are multi-line:
Code:
$ zabbix_agent -t system.hw.cpu [t|processor 0: GenuineIntel QEMU Virtual CPU version 0.12.3 working at 2526MHz processor 1: GenuineIntel QEMU Virtual CPU version 0.12.3 working at 2526MHz]
Is it possible somehow to populate the inventory with the last line of the CPU list?
Last line would be cool, since if it is something like processor 3: GenuineIntel QEMU Virtual CPU version 0.12.3 working at 2526MHz] then the admin looking at the inventory can directly spot from processor 3 that the host must have 4 CPUs. Currently the inventory always shows processor 0 which is not that good..
Comment