Werk #7217: HW/SW-Inventory: Execution order of plugins
Komponente | Checks & agents |
Titel | HW/SW-Inventory: Execution order of plugins |
Datum | 15.03.2019 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 1.5.0p13 1.6.0b1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
The order in which the HW/SW inventory plugins are executed is now deterministic. Previously dependencies between inventory plugins could lead to missing data if the plugins happend to be executed in the wrong order.
Plugins are now executed in alphabetical order by default. You can force a plugin to be executed after another plugin by setting the depends_on key in the inventory info variable inv_info. For instance writing inv_info['plugin_a'] = { ... 'depends_on' = ['plugin_b'], } will enforce "plugin_b" to be executed before "plugin_a".