Werk #10223: HW/SW Inventory: Do not save inventory tree if Checkmk service calculates status data inventory
Komponente | HW/SW inventory |
Titel | HW/SW Inventory: Do not save inventory tree if Checkmk service calculates status data inventory |
Datum | 14.10.2019 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 1.5.0p23 1.6.0p5 2.0.0i1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
The {{Checkmk HW/SW Inventory}} service builds up the inventory tree and if {{Do status data inventory}} is configured in the ruleset {{Do hardware/software inventory}} the {{Checkmk}} service builds up the status data tree. Latter one also saved the inventory tree as the {{Checkmk HW/SW Inventory}} service does. This may result in flapping inventory history entries.
Now the inventory tree is only saved by the {{Checkmk HW/SW Inventory}} service and the status data tree is only saved by the {{Checkmk}} service if {{Do status data inventory}} is configured.
Both the commandline {{cmk -vii HOST}} and the {{Checkmk HW/SW Inventory}} service also run inventory hooks.