A simple Datasource to import Labels from a CSV file.

Datasource Specific Parameters

# CSV File to import
csv_files:
  - /mnt/share/csv_label_example.csv

Format of the CSV File

Host;Labels
buildsrv01;Building:A,Room:305,Owner:Internal-IT, tester:Marc Meyer
testhost1;Building:A,Room:305,Owner:Test-Automation
testhost2;Building:B,Room:104,Owner:Test-Automation

Full example

datasources:
  # Datasource: CSV
  csv_example:
    module: lpds_csv
    label_prefix: csv
    # Case conversion is optional
    case_conversion:
      label: upper
      value: upper
    csv_files:
      - /mnt/share/csv_label_example.csv