@if (post) {
{{ t('Edit host defaults: ') }} {{ post.name }} @if (post.host) { @if (PermissionsService.hasPermissionObservable(['hosts', 'browser'])|async) { @if (post.host.disabled == 1) { {{ t('In monitoring (disabled)') }} } } @else { @if (post.host.disabled == 1) { {{ t('In monitoring (disabled)') }} } } @if (post.host.disabled == 0 && hasFlag(post.flags, ImportedHostFlagsEnum.FLAG_MARKED_FOR_DISABLE)) { } }
{{ t('The identifier is used by the Importer to be able to identify and update records.') }}
{{ t('Press return to separate tags') }}
@if (!post.container_id) {
{{ t('Please select a container.') }}
} @if (post.container_id === ROOT_CONTAINER) {
{{ t('Objects in /root can\'t be moved to other containers') }}
}
@if (!post.hosttemplate_id) {
{{ t('Please select a host template.') }}
}
@if (PermissionsService.hasModuleObservable('DistributeModule')|async) {
}
@if (post.imported_hosts_to_agentchecks.length > 0) {
} @for (match of post.imported_hosts_to_agentchecks; track $index) {
{{ t('Agent check to assign on match') }}
{{ t('RegEx that needs to match') }}
}
}