|
@if (Number(column.scheduledDowntimeDepth) > 0 && stateForDowntimedService() !== column.current_state && stateForDowntimedService() !== -1) {
}
@if (Number(column.scheduledDowntimeDepth) > 0 || column.problemHasBeenAcknowledged) {
@if (Number(column.scheduledDowntimeDepth) > 0) {
{{ column.hostName }}/{{ column.serviceName }}
|
} @else if (layerIndex === 0 && ( Number(column.current_state) === -1 || column.current_state === null )) {
{{ column.hostName }}/{{ column.serviceName }}
|
} @else if (layerIndex === 0 && Number(column.current_state) === -2) {
{{ column.hostName }}/{{ column.serviceName }}
@if (column.isUsedInScoringOperator) {
@if (column.currentStateConsiderDowntimeOrDisabled === 0) {
0
}
@if (column.currentStateConsiderDowntimeOrDisabled === 1) {
{{ column.score_warning | localNumber }}
}
@if (column.currentStateConsiderDowntimeOrDisabled === 2) {
{{ column.score_critical | localNumber }}
}
@if (column.currentStateConsiderDowntimeOrDisabled === 3) {
{{ column.score_unknown | localNumber }}
}
}
|
} @else {
@if (column.disabled) {
@if (column.operator && [EventcorrelationOperators.SCORESCLALARGREATER,
EventcorrelationOperators.SCORESCLALARLESSER,
EventcorrelationOperators.SCORERANGEINCLUSIVE,
EventcorrelationOperators.SCORERANGEEXCLUSIVE].includes(column.operator)) {
{{ 'score' | transloco }} ⚖️
} @else {
{{ column.operator }}
}
{{ column.serviceName }}
@if (column.isUsedInScoringOperator) {
@if (column.currentStateConsiderDowntimeOrDisabled === 0) {
0
}
@if (column.currentStateConsiderDowntimeOrDisabled === 1) {
{{ column.score_warning | localNumber }}
}
@if (column.currentStateConsiderDowntimeOrDisabled === 2) {
{{ column.score_critical | localNumber }}
}
@if (column.currentStateConsiderDowntimeOrDisabled === 3) {
{{ column.score_unknown | localNumber }}
}
}
|
}
}