You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say I have the datafield load_warning = 80 set on one of my hosts. Now there has been a change in the check plugin that has changed the parameter to, for example, --warning15. There is an associated basket which now contains the load_warning15 datafield. As the UUID of these datafields is the same, the datafield is correctly renamed to load_warning15 (this already works).
Current Behavior
Currently, the applied variable on my host is not renamed and remains load_warning.
Expected Behavior
Ideally, the Director offers the option to also rename the applied variables during the import.
Possible Solution
Adding a toggle in the webgui and the cli, and allowing the user to choose the behavior during the import.
Preferred: Extending the basket with a "BasketConfig" element, that offers options for the import process itself. This allows the creator of the basket to set options that make sense for their use case. In the future, this could also be extended with other options.
Create a host which has the custom variable applied and contains a value: icingacli director host create host1 --imports ___TEST___host_template1 --vars.___TEST___datafield1 'myvalue1'
Let's say I have the datafield
load_warning = 80
set on one of my hosts. Now there has been a change in the check plugin that has changed the parameter to, for example,--warning15
. There is an associated basket which now contains theload_warning15
datafield. As the UUID of these datafields is the same, the datafield is correctly renamed toload_warning15
(this already works).Current Behavior
Currently, the applied variable on my host is not renamed and remains
load_warning
.Expected Behavior
Ideally, the Director offers the option to also rename the applied variables during the import.
Possible Solution
The Linuxfabrik Fork of the Icinga Director implements automatic renaming of related vars, but does not offer the choice to the user. See 7c95a72
Steps to Reproduce
icingacli director host create host1 --imports ___TEST___host_template1 --vars.___TEST___datafield1 'myvalue1'
___TEST___datafield1
to___TEST___datafield1-renamed
.icingacli director host show host1
The text was updated successfully, but these errors were encountered: