{{ t('Host status details') }}
@if (!result) { } @if (result) { {{ result.hoststatus.host_mapping.display_name }} {{ 'Host' }} {{ result.hoststatus.host_mapping.display_name }} {{ 'State' }} {{ result.hoststatus.current_state | hostStatusName }} {{ 'State since' }} {{ result.hoststatus.last_state_change_for_humans }} {{ 'Last check' }} {{ result.hoststatus.last_check_in_words }} {{ 'Next check' }} @if (result.hoststatus.active_checks_enabled) { {{ result.hoststatus.next_check_in_words }} } @else { {{ t('n/a') }} } {{ 'State type' }} @if (result.hoststatus.is_hardstate) { {{ t('Hard state') }} } @else { {{ t('Soft state') }} } ({{ result.hoststatus.current_check_attempt }} /{{ result.hoststatus.max_check_attempts }}) {{ 'Output' }}
@if (this.PermissionsService.hasPermissionObservable(['externalcommands', 'reset_check_time']) | async) { } @if (this.PermissionsService.hasPermissionObservable(['externalcommands', 'schedule_maintenance']) | async) { } @if (this.PermissionsService.hasPermissionObservable(['externalcommands', 'acknowledge_status']) | async) { @if (Number(result.hoststatus.current_state) > 0) { } } @if (this.PermissionsService.hasPermissionObservable(['externalcommands', 'process_check_result']) | async) { } @if (this.PermissionsService.hasPermissionObservable(['externalcommands', 'flap_detection']) | async) { @if (!result.hoststatus.flap_detection_enabled) { } @if (result.hoststatus.flap_detection_enabled) { } }
@if (Number(result.hoststatus.scheduled_downtime_depth) > 0 && result.downtime) {
{{ t('The host is currently in a planned maintenance period') }}
{{ t('Downtime was set by') }} {{ result.downtime.author_name }} {{ t('with an duration of') }} {{ result.downtime.duration_for_humans }}.
{{ t('Start time:') }} {{ result.downtime.scheduled_start_time }} {{ t('End time:') }} {{ result.downtime.scheduled_end_time }}
{{ t('Comment: ') }} {{ result.downtime.comment_data }}
@if (result.downtime.is_cancellable) { }
} @if (result.hoststatus.problem_has_been_acknowledged && 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.hoststatus.is_flapping) { {{ t('The state of this host is currently flapping!') }} } @if (result.hoststatus.long_output_html) {

{{ t('Long output') }}

}
@if (this.PermissionsService.hasPermissionObservable(['services', 'index'])|async) { @if (result && hostUuid != '') {
@if (result && result.hoststatus) { }
} } }
@if (result) { {{ t('View') }} }