{{ t('Imported Hosts') }} {{ t('Overview') }}
{{ t('Completely') }} {{ t('Some optional fields are missing') }} {{ t('Some required fields are missing') }} @if (isLoadingImporters) { } @if (!isLoadingImporters && importers.length > 0) {
    @for (importer of importers; track importer) {
  • }
}
@if (!isLoadingImporters && importers.length === 0) {
}
{{ t('Filter') }}
{{ t('Already synchronized') }}
{{ t('Ready for synchronization') }}
{{ t('Flags') }}
{{ t('Importers') }}
@if (!allImportedHosts) { } @if (allImportedHosts && importedhosts) { @for (importedhost of importedhosts; track importedhost) { }
{{ t('Name') }} {{ t('Address') }} {{ t('Description') }} {{ t('Importer') }} {{ t('User') }} {{ t('Reserved settings') }} {{ t('Import date') }} {{ t('Last modified') }} {{ t('Imported file') }} {{ t('Progress') }}
@if (importedhost.progress.state === 100) { } @if (importedhost.progress.state == 80) { } @if (importedhost.progress.state < 80) { }
{{ importedhost.name }} {{ importedhost.name }} @if (importedhost.imported !== 1) { {{ t('NEW') }} } @if (importedhost.imported === 1 && ( importedhost.host && importedhost.host.disabled === 0 )) { {{ t('In monitoring') }} {{ t('In monitoring') }} } @if (( ( importedhost.host && importedhost.host.disabled === 0 ) || importedhost.host_id === null ) && hasFlag(importedhost.flags, ImportedHostFlagsEnum.FLAG_MARKED_FOR_DISABLE)) { } @if (( importedhost.host && importedhost.host.disabled === 0 ) && hasFlag(importedhost.flags, ImportedHostFlagsEnum.FLAG_MARKED_CHANGED)) { } @if (importedhost.host && importedhost.host.disabled === 1) { {{ t('In monitoring (disabled)') }} {{ t('In monitoring (disabled)') }} } @if (( importedhost.host && importedhost.host.disabled === 1 ) && hasFlag(importedhost.flags, ImportedHostFlagsEnum.FLAG_MARKED_FOR_ENABLE)) { }
@if (( ( importedhost.host && importedhost.host.disabled === 0 ) || importedhost.host_id === null ) && hasFlag(importedhost.flags, ImportedHostFlagsEnum.FLAG_MARKED_FOR_DISABLE)) { } @if (( importedhost.host && importedhost.host.disabled === 0 ) && hasFlag(importedhost.flags, ImportedHostFlagsEnum.FLAG_MARKED_CHANGED)) { } @if (( importedhost.host && importedhost.host.disabled === 1 ) && hasFlag(importedhost.flags, ImportedHostFlagsEnum.FLAG_MARKED_FOR_ENABLE)) { }
{{ importedhost.address }} {{ importedhost.description }} {{ importedhost.importer.name }} {{ importedhost.importer.name }} @switch (importedhost.importer.data_source) { @case ("itop") { } @case ("idoit") { } @case ("csv_with_header") { } @case ("csv_without_header") { } @case ("openitcockpit_agent") { } @case ("external_monitoring") { } @default { } } @if (importedhost.user) { {{ importedhost.full_name }} } {{ importedhost.full_name }} {{ t('Host template:') }} @if (importedhost.hosttemplate.name) {
{{ importedhost.hosttemplate.name }} {{ importedhost.hosttemplate.name }}
} @if (!importedhost.hosttemplate.name) {
{{ t('missing data') }}
}
{{ t('Container:') }} @if (importedhost.container) {
{{ importedhost.container }}
} @if (!importedhost.container) {
{{ t('missing data') }}
} @if (importedhost.imported_hosts_to_containers_sharing.length > 0) {
{{ t('Shared containers:') }}
}
    @for (sharedcontainer of importedhost.imported_hosts_to_containers_sharing; track sharedcontainer) {
  • {{ sharedcontainer.name }}
  • }
@if (importedhost.satellite) {
{{ importedhost.satellite.name }} {{ importedhost.satellite.name }}
}

{{ t('Service templates:') }} @if (importedhost.imported_hosts_to_servicetemplates.length === 0) {
{{ t('No service templates defined') }}
}

{{ t('Service template groups:') }} @if (importedhost.imported_hosts_to_servicetemplategroups.length === 0) {
{{ t('No service template groups defined') }}
}
@if (Object.keys(importedhost.services_overview).length > 0) {

{{ t('Services:') }}
    @for (service of importedhost.services_overview.new|keyvalue; track $index) {
  • {{ service.value }}
  • } @for (service of importedhost.services_overview.to_delete; track $index) {
  • {{ service.servicename }} {{ service.servicename }}
  • } @for (service of importedhost.services_overview.not_deletable; track $index) {
  • {{ service.servicename }} {{ service.servicename }}
  • }
} @if (importedhost.importer.data_source === 'openitcockpit_agent' && importedhost.imported_hosts_to_agentchecks.length > 0) {

{{ t('Agent Checks:') }}
    @for (agentcheck of importedhost.imported_hosts_to_agentchecks; track agentcheck) {
  • {{ agentcheck.agentcheck.name }} {{ agentcheck.agentcheck.name }}
    • {{ t('RegEx') }}: {{ agentcheck.regex }}
  • }
} @if (Object.keys(importedhost.oitc_agent_services_overview).length > 0) {

{{ t('openITCOCKPIT Agent Services:') }}
    @for (service of importedhost.oitc_agent_services_overview.new; track $index) {
  • {{ service.value }}
  • } @for (service of importedhost.oitc_agent_services_overview.to_delete; track $index) {
  • {{ service.servicename }} {{ service.servicename }}
  • } @for (service of importedhost.oitc_agent_services_overview.not_deletable; track $index) {
  • {{ service.servicename }} {{ service.servicename }}
  • }
} @if (Object.keys(importedhost.external_services_overview).length > 0) {

{{ t('Services:') }}
    @for (service of importedhost.external_services_overview.new; track $index) {
  • {{ service.value }}
  • } @for (service of importedhost.external_services_overview.to_delete; track $index) {
  • {{ service.servicename }} {{ service.servicename }}
  • } @for (service of importedhost.external_services_overview.not_deletable; track $index) {
  • {{ service.servicename }} {{ service.servicename }}
  • }
}
{{ importedhost.created }} {{ importedhost.modified }} @if (importedhost.imported_file) { {{ importedhost.imported_file.filename }} }
@if (( importedhost.allowEdit && !importedhost.readonly )) { {{ t('Edit') }} } {{ t('Changelog') }}
  • @if (importedhost.allowEdit) { {{ t('Delete') }} }
    } @if (importedhosts && importedhosts.length === 0) { } @if (allImportedHosts && importedhosts) {
    }