Skip to content

Provide info if each imported file contains one or multiple objects #4

@xenuser

Description

@xenuser

One can e.g. configure the following import source within Director (Icingaweb2):


Import source name: Hosts
Source Type: Import from files (fileshipper)
Key column name: Hostname
File format: CSV
Field delimiter: ;
Value enclosure: "
Base directory: /srv/some_dir
File name: * (all files) 

In this case, Fileshipper is used to import all files within the provided directory. Thomas writes on icinga-users:

"All files" has been implemented for scenarios where you
have one file per object, like one YAML or JSON file per single host.
This is for systems using a directory as their "inventory".

But what you can't provide in the settings is if a file contains one or multiple objects. It would be great to have the functionality that Fileshipper is able to import multiple objects per file, not only one.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions