Director import from existing Icinga2/Director

Hi,

We had exactly the same problem (export template/command/director configuration from a working director setup to a fresh one). Both director Version 1.7.2.

The export with baskets produced a downloadable .json file, unfortunately the fresh director system refused to import them due to referencing “unknown” objects/templates (regardless the fact that these “unknown” objects were included within the basket).

Finally we decided to make db dumb on the working system and imported that dump on the fresh one. Which worked fine.

Questions:

  1. Are baskets in advantage over a db dump in order to start over with a fresh system?
  2. How to import a basket on a fresh system? (How to deal with referencing problem? Or did the problem occur due to a misconfiguration of the basket?)

Best regards,
Dave