{{ t('Custom Alerts') }}: {{ t('Overview') }}
@if (result) {
{{ result.customalertGlobalOverview['0'] }} / {{ result.customalertGlobalOverview.total }}
New alerts
{{ result.customalertGlobalOverview['1'] }} / {{ result.customalertGlobalOverview.total }}
{{ t('In progress') }}
New In progress Done Manually closed
}
{{ t('Filter') }}
{{ t('From') }} {{ t('To') }}
{{ t('Alert status') }}
{{ t('Container') }}

@if (!result) { } @if (groupViewByHost) { @if (result) { @for (hostId of this.hostIdsInOrder; track hostId) { @for (customAlertRule of ( this.groupedList[hostId] ); track customAlertRule) { } }
{{ t('Host') }} {{ t('State') }} {{ t('Service') }} {{ t('Message') }} {{ t('Annotation') }} {{ t('last 24h') }} {{ t('Created') }} {{ t('Modified') }}
{{ groupedList[hostId][0].service.host.name }} {{ groupedList[hostId][0].service.host.name }} /{{ groupedList[hostId][0].service.host.primary_container }}
@if (customAlertRule.state === 0) { } @if (customAlertRule.state === 1) { } @if (customAlertRule.state === 2) { } @if (customAlertRule.state === 3) { } {{ customAlertRule.servicename }} {{ customAlertRule.servicename }} {{ customAlertRule.message }} {{ customAlertRule.CustomalertComments.entry_time }} {{ customAlertRule.CustomalertComments.comment }} {{ customAlertRule.last24hoursAlerts }} {{ customAlertRule.createdInHumanShort }} {{ customAlertRule.modifiedInHumanShort }} {{ t('Annotate') }} {{ t('Close manually') }} {{ t('History') }}
} } @if (!groupViewByHost) { @if (result) { @for (customAlertRule of result.customalerts; track customAlertRule) { }
{{ t('State') }} {{ t('Container') }} {{ t('Host') }} {{ t('Service') }} {{ t('Message') }} {{ t('Annotation') }} {{ t('last 24h') }} {{ t('Created') }} {{ t('Modified') }}
@if (customAlertRule.state === 0) { } @if (customAlertRule.state === 1) { } @if (customAlertRule.state === 2) { } @if (customAlertRule.state === 3) { } {{ customAlertRule.service.container }} {{ customAlertRule.service.host.name }} {{ customAlertRule.service.host.name }} {{ customAlertRule.servicename }} {{ customAlertRule.servicename }} {{ customAlertRule.message }} {{ customAlertRule.CustomalertComments.entry_time }} {{ customAlertRule.CustomalertComments.comment }} {{ customAlertRule.last24hoursAlerts }} {{ customAlertRule.createdInHumanShort }} {{ customAlertRule.modifiedInHumanShort }} {{ t('Annotate') }} @if (customAlertRule.state < 2) { {{ t('Close manually') }} } {{ t('History') }}
} } @if (result && result.customalerts.length === 0) { } @if (result) {
} @if (result) { }