Branch: refs/heads/2.1.0
Home:
https://github.com/tribe29/checkmk
Commit: cee5068e4647c1eda85224d633d56a93616cddf0
https://github.com/tribe29/checkmk/commit/cee5068e4647c1eda85224d633d56a936…
Author: Andreas Umbreit <andreas.umbreit(a)tribe29.com>
Date: 2022-04-07 (Thu, 07 Apr 2022)
Changed paths:
A .werks/13679
M agents/plugins/mk_inventory.solaris
M cmk/base/plugins/agent_based/inventory_solaris_psrinfo.py
R inventory/solaris_prtpicl
M tests/unit/cmk/base/plugins/agent_based/test_check_plugin_properties.py
A tests/unit/cmk/base/plugins/agent_based/test_inventory_solaris_psrinfo.py
Log Message:
-----------
13679 FIX Better detection of physical CPUs and CPU cores on Solaris
The hardware/software-inventory plugin now uses some <tt>psrinfo</tt>
commands to determine information about physical CPUs,
cores, and virtual CPUs.
The previous method of parsing the output of <tt>prtpicl</tt> turned
out insufficient on some Solaris systems.
Furthermore, if some information is not available via <tt>psrinfo</tt>
(This may be the case for the number of cores), it will be left out
in the HW/SW inventory table instead of displaying a misleading <tt>0</tt>.
In order to apply the better detection, you have to redeploy the inventory
agent plugin to your Solaris hosts.
Checkmk 2.1 will continue to work with the old agent plugin, however, in
Checkmk 2.2, this compatibility will be dropped.
Change-Id: I60acc8ecb76bd6690905cad5fec8b7980f7d4ba1