Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xenuser opened this issue Mar 13, 2017 · 0 comments
Open
Assignees
Milestone

Comments

@xenuser
Copy link

xenuser commented Mar 13, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants