{{ t('Edit importer') }} {{ post.name }}
{{ t('Please select a container.') }}
@switch (post.data_source) { @case ('csv_with_header') { {{ t('The first row of the CSV file will be treated as column names') }} } @case ('csv_without_header') { {{ t('The CSV file consists only data sets without column names as header') }} } @case ('json') { {{ t('Importing Data from JSON Files') }} } }
{{ t('Use external system for showing additional host information') }}
{{ t('openITCOCKPIT will query the selected external monitoring to import devices monitored by the remote system. openITCOCKPIT will synchronize the status. The monitoring itself is still done by the external monitoring system.') }}
{{ t('If enabled, all hosts will be imported even without at least one match') }}
{{ t('If enabled, only new hosts will be imported. Already synchronized hosts are not changed') }}
{{ t('If enabled all hosts outside of import data will get disabled automatically') }}
{{ t('If this option is enabled, disabled hosts will be enabled automatically') }}
{{ t('If enabled all services outside of the service template group assignment will get deleted automatically') }}
{{ t('Keep container settings for hosts that have already been synchronized') }}
{{ t('Keep satellite settings for hosts that have already been synchronized') }}

{{ t('Data source mapping configuration for:') }} @switch (post.data_source) { @case ('csv_with_header') { {{ t('CSV with header') }} } @case ('csv_without_header') { {{ t('CSV without header') }} } @case ('json') { {{ t('JSON') }} } @case ('idoit') { {{ t('i-doit') }} } @case ('openitcockpit_agent') { {{ t('openITCOCKPIT Agent') }} } @case ('itop') { {{ t('iTop') }} } @case ('external_monitoring') { {{ t('External Monitoring') }} } }

@if (formFields) {
}

{{ t('Define global filter for import (optional)') }}

{{ t('The defined regular expression get applied to all imported hosts.') }}

{{ t('Host defaults assignments') }}

{{ t('Do not enter empty matches') }}
{{ t('No host defaults are defined') }}
{{ t('Please create at least one "Host defaults"') }}
{{ t('The saved settings get applied to all imported hosts.') }}
{{ t('Host template') }} {{ hostdefaults[post.hostdefault_id].hosttemplate.name }} {{ t('Container') }} {{ hostdefaults[post.hostdefault_id].container.name }}
{{ t('Shared containers:') }}
  • {{ sharedcontainer.name }}
  • {{ t('Field to match') }} {{ t('RegEx that needs to match ') }} {{ t('Service template') }}
  • {{ servicetemplate_match.field }} {{ servicetemplate_match.regex }} {{ servicetemplate_match.servicetemplate.template_name }}
  • {{ t('Field to match') }} {{ t('RegEx that needs to match ') }} {{ t('Service template group') }}
  • {{ servicetemplategroup_match.field }} {{ servicetemplategroup_match.regex }} {{ servicetemplategroup_match.servicetemplategroup.container.name }}
  • {{ t('Agent check') }} {{ t('RegEx that needs to match ') }}
  • {{ agentcheck_match.agentcheck.name }} {{ agentcheck_match.regex }}
  • {{ t('RegEx that needs to match') }} {{ t('Service template ') }}
  • {{ external_monitoring_check.regex }} {{ external_monitoring_check.servicetemplate.template_name }}

{{ t('Optional overwrites') }}
{{ t('Define exceptions for particular hosts, that should get imported using a different configuration.') }}
{{ t('Matching is done in the shown order.') }} {{ t('The last matching overwrite configuration gets used by the Importer.') }}
{{ t('Matching RegEx will be marked in green color') }}
@if (regex_test_string !== '' && matchingImporters.filter(Boolean).length === 0) { {{ t('No overwrite RegEx matches the given input string.') }} } @if (regex_test_string !== '' && matchingImporters.filter(Boolean).length > 0) { {{ matchingImporters.filter(Boolean).length }} {{ t('matching host default overwrite found.') }} }
@for (match of post.importers_to_hostdefaults; track $index) {
{{ t('Field to match') }}
{{ t('RegEx that needs to match') }}
{{ t('Host defaults to assign on match') }}
{{ t('Host template') }} {{ hostdefaults[match.hostdefault_id].hosttemplate.name }} {{ t('Container') }} {{ hostdefaults[match.hostdefault_id].container.name }}
{{ t('Shared containers:') }}
  • {{ sharedcontainer.name }}
  • {{ t('Field to match') }} {{ t('RegEx that needs to match ') }} {{ t('Service template') }}
  • {{ servicetemplate_match.field }} {{ servicetemplate_match.regex }} {{ servicetemplate_match.servicetemplate.template_name }}
  • {{ t('Field to match') }} {{ t('RegEx that needs to match ') }} {{ t('Service template group') }}
  • {{ servicetemplategroup_match.field }} {{ servicetemplategroup_match.regex }} {{ servicetemplategroup_match.servicetemplategroup.container.name }}
  • {{ t('Agent check') }} {{ t('RegEx that needs to match ') }}
  • {{ agentcheck_match.agentcheck.name }} {{ agentcheck_match.regex }}
  • {{ t('RegEx that needs to match') }} {{ t('Service template ') }}
  • {{ external_monitoring_check.regex }} {{ external_monitoring_check.servicetemplate.template_name }}
}