{{ t('Host status details') }}
@if (!result) { } @if (result) { {{ result.mergedHost.name }} {{ 'Host' }} {{ result.mergedHost.name }} {{ 'State' }} {{ result.hoststatus.currentState | hostStatusName }} @if (result.hoststatus.isInMonitoring) { {{ 'State since' }} {{ result.hoststatus.last_state_change }} {{ 'Last check' }} {{ result.hoststatus.lastCheck }} {{ 'Next check' }} @if (result.mergedHost.active_checks_enabled && !result.mergedHost.is_satellite_host) { {{ result.hoststatus.nextCheck }} } @else { {{ t('n/a') }} } {{ 'State type' }} @if (result.hoststatus.isHardstate) { {{ t('Hard state') }} } @else { {{ t('Soft state') }} } ({{ result.hoststatus.current_check_attempt }} /{{ result.hoststatus.max_check_attempts }}) {{ 'Output' }}
} @if (result.canSubmitExternalCommands && result.mergedHost.allowEdit && result.hoststatus.isInMonitoring) { @if (Number(result.hoststatus.currentState) > 0) { } @if (!result.hoststatus.flap_detection_enabled) { } @if (result.hoststatus.flap_detection_enabled) { } @if (!result.hoststatus.notifications_enabled) { } @if (result.hoststatus.notifications_enabled) { } }
@if (Number(result.hoststatus.scheduledDowntimeDepth) > 0 && result.downtime) {
{{ t('The host is currently in a planned maintenance period') }}
{{ t('Downtime was set by') }} {{ result.downtime.authorName }} {{ t('with an duration of') }} {{ result.downtime.durationHuman }}.
{{ t('Start time:') }} {{ result.downtime.scheduledStartTime }} {{ t('End time:') }} {{ result.downtime.scheduledEndTime }}
{{ t('Comment: ') }} {{ result.downtime.commentData }}
@if (result.downtime.allowEdit && result.downtime.isCancellable) { }
} @if (result.hoststatus.problemHasBeenAcknowledged && result.acknowledgement) {
{{ t('State of host is acknowledged') }} ({{ t('Sticky') }})
{{ t('Acknowledgement was set by') }} {{ result.acknowledgement.author_name }} {{ t('at') }} {{ result.acknowledgement.entry_time }}.
{{ t('Comment: ') }}
@if (result.acknowledgement.allowEdit) { }
} @if (result.hoststatus.isFlapping) { {{ t('The state of this host is currently flapping!') }} } @if (result.parenthosts.length > 0) {

{{ t('Parent host overview') }}

@for (parenthost of result.parenthosts; track parenthost) { }
{{ t('Parent host state') }} {{ t('Parent host name') }} {{ t('Last state change') }}
{{ parenthost.name }} {{ result.parentHostStatus[String(parenthost.uuid)].last_state_change }}
} @if (result.hoststatus.longOutputHtml) {

{{ t('Long output') }}

}
@if (result && hostId > 0) {
@if (result && result.mergedHost) { }
} }
@if (result) { {{ t('View') }} }