@if (isLoading) { } @if (!isLoading) {
{{ t('Edit Event Correlation:') }} @if (rootElement) { {{ rootElement.host.name }} } @if (hasUnsavedChanges) { {{ t('Unsaved changes') }} }
@if (id) { {{ t('View') }} }
{{ t('Ok') }} {{ t('Warning') }} {{ t('Critical') }} {{ t('Unknown') }} {{ t('Not monitored') }}
 
}
@if (modalVService?.current_evc?.mode === 'add') { {{ t('Create virtual service') }} } @if (modalVService?.current_evc?.mode === 'edit') { {{ t('Modify virtual service') }} }
@if (modalVService) {
{{ t('Name of the virtual service that holds the result of the correlation.') }}
{{ t('Only service templates of the EVC type are available.') }}
@if (modalCurrentLayerIndex === 0) {
{{ t('Services that should be correlated') }}
} @if (modalCurrentLayerIndex > 0) {
{{ t('Virtual services that should be correlated') }}
}
@if (modalVService.operator === EventcorrelationOperators.MIN) {
} @if (modalVService.operator && [EventcorrelationOperators.SCORESCLALARGREATER, EventcorrelationOperators.SCORESCLALARLESSER, EventcorrelationOperators.SCORERANGEINCLUSIVE, EventcorrelationOperators.SCORERANGEEXCLUSIVE].includes(modalVService.operator)) {
{{ t('Score settings') }}
@if (modalVService.service_ids.length > 0) {
{{ t('Services') }}
@if (modalVService.current_evc.service_scores) { @for (service of modalVService.current_evc.service_scores; track service) { {{ service.display_name }} } Σ {{ modalVService.current_evc.service_scores | scoreSum:'warning' }} {{ modalVService.current_evc.service_scores | scoreSum:'critical' }} {{ modalVService.current_evc.service_scores | scoreSum:'unknown' }} }
}
{{ t('Score for warning') }}
@if (modalVService.operator === EventcorrelationOperators.SCORERANGEINCLUSIVE || modalVService.operator === EventcorrelationOperators.SCORERANGEEXCLUSIVE) {
}
{{ t('Determines the total score that has to be reached, to result in a warning state.') }}
{{ t('Score for critical') }}
@if (modalVService.operator === EventcorrelationOperators.SCORERANGEINCLUSIVE || modalVService.operator === EventcorrelationOperators.SCORERANGEEXCLUSIVE) {
}
{{ t('Determines the total score that has to be reached, to result in a critical state.') }}
{{ t('Score for unknown') }}
@if (modalVService.operator === EventcorrelationOperators.SCORERANGEINCLUSIVE || modalVService.operator === EventcorrelationOperators.SCORERANGEEXCLUSIVE) {
}
{{ t('Determines the total score that has to be reached, to result in a unknown state.') }}
}
}