icinga-powershell-plugins icon indicating copy to clipboard operation
icinga-powershell-plugins copied to clipboard

Add uuids to Director Basket - Director Basket needs to be imported twice

Open Donien opened this issue 1 year ago • 0 comments
trafficstars

With Icinga Director 1.11.2 (no other version tested yet) I currently need to import the Director Basket twice.

After the first import (restore to database) all commands are marked with changes (when looking at the exact same snapshot of the Basket).
All changes are about Icinga Director Datafield IDs (change from "datafield_id": "(UNKNOWN)" to e.g. "datafield_id": "89").

After a second import of the exact same snapshot all is well and good, nothing is marked with changes.
However, with the second import all Datafields are duplicated while only one (of each pair) is used in a command.
This effectively clutters the Director config with unnecessary variables.


Proposed solution

Add uuid to at least each Datafield. This way the Icinga Director knows where a certain Datafield belongs or rather if it is already present.

Donien avatar Nov 22 '24 13:11 Donien