Werk #7217: HW/SW-Inventory: Execution order of plugins
| Component | Checks & agents | ||||
| Title | HW/SW-Inventory: Execution order of plugins | ||||
| Date | Mar 15, 2019 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
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".